<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>ArrayUtils (Apache Commons Lang 3.3.2 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="ArrayUtils (Apache Commons Lang 3.3.2 API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ArrayUtils.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/commons/lang3/AnnotationUtils.html" title="class in org.apache.commons.lang3"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/commons/lang3/BitField.html" title="class in org.apache.commons.lang3"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/commons/lang3/ArrayUtils.html" target="_top">Frames</a></li>
<li><a href="ArrayUtils.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.commons.lang3</div>
<h2 title="Class ArrayUtils" class="title">Class ArrayUtils</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.commons.lang3.ArrayUtils</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">ArrayUtils</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block"><p>Operations on arrays, primitive arrays (like <code>int[]</code>) and
 primitive wrapper arrays (like <code>Integer[]</code>).</p>

 <p>This class tries to handle <code>null</code> input gracefully.
 An exception will not be thrown for a <code>null</code>
 array input. However, an Object array that contains a <code>null</code>
 element may throw an exception. Each method documents its behaviour.</p>

 <p>#ThreadSafe#</p></div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd>
<dt><span class="strong">Version:</span></dt>
  <dd>$Id: ArrayUtils.java 1578214 2014-03-17 02:44:58Z ggregory $</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_BOOLEAN_ARRAY">EMPTY_BOOLEAN_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>boolean</code> array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_BOOLEAN_OBJECT_ARRAY">EMPTY_BOOLEAN_OBJECT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>Boolean</code> array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_BYTE_ARRAY">EMPTY_BYTE_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>byte</code> array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_BYTE_OBJECT_ARRAY">EMPTY_BYTE_OBJECT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>Byte</code> array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_CHAR_ARRAY">EMPTY_CHAR_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>char</code> array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_CHARACTER_OBJECT_ARRAY">EMPTY_CHARACTER_OBJECT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>Character</code> array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_CLASS_ARRAY">EMPTY_CLASS_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>Class</code> array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_DOUBLE_ARRAY">EMPTY_DOUBLE_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>double</code> array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_DOUBLE_OBJECT_ARRAY">EMPTY_DOUBLE_OBJECT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>Double</code> array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_FLOAT_ARRAY">EMPTY_FLOAT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>float</code> array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_FLOAT_OBJECT_ARRAY">EMPTY_FLOAT_OBJECT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>Float</code> array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_INT_ARRAY">EMPTY_INT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>int</code> array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_INTEGER_OBJECT_ARRAY">EMPTY_INTEGER_OBJECT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>Integer</code> array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_LONG_ARRAY">EMPTY_LONG_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>long</code> array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_LONG_OBJECT_ARRAY">EMPTY_LONG_OBJECT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>Long</code> array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_OBJECT_ARRAY">EMPTY_OBJECT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>Object</code> array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_SHORT_ARRAY">EMPTY_SHORT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>short</code> array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_SHORT_OBJECT_ARRAY">EMPTY_SHORT_OBJECT_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>Short</code> array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#EMPTY_STRING_ARRAY">EMPTY_STRING_ARRAY</a></strong></code>
<div class="block">An empty immutable <code>String</code> array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND">INDEX_NOT_FOUND</a></strong></code>
<div class="block">The index value when an element is not found in a list or array: <code>-1</code>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#ArrayUtils()">ArrayUtils</a></strong>()</code>
<div class="block">ArrayUtils instances should NOT be constructed in standard programming.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(boolean[], boolean)">add</a></strong>(boolean[]&nbsp;array,
   boolean&nbsp;element)</code>
<div class="block">Copies the given array and adds the given element at the end of the new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(boolean[], int, boolean)">add</a></strong>(boolean[]&nbsp;array,
   int&nbsp;index,
   boolean&nbsp;element)</code>
<div class="block">Inserts the specified element at the specified position in the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(byte[], byte)">add</a></strong>(byte[]&nbsp;array,
   byte&nbsp;element)</code>
<div class="block">Copies the given array and adds the given element at the end of the new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(byte[], int, byte)">add</a></strong>(byte[]&nbsp;array,
   int&nbsp;index,
   byte&nbsp;element)</code>
<div class="block">Inserts the specified element at the specified position in the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(char[], char)">add</a></strong>(char[]&nbsp;array,
   char&nbsp;element)</code>
<div class="block">Copies the given array and adds the given element at the end of the new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(char[], int, char)">add</a></strong>(char[]&nbsp;array,
   int&nbsp;index,
   char&nbsp;element)</code>
<div class="block">Inserts the specified element at the specified position in the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(double[], double)">add</a></strong>(double[]&nbsp;array,
   double&nbsp;element)</code>
<div class="block">Copies the given array and adds the given element at the end of the new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(double[], int, double)">add</a></strong>(double[]&nbsp;array,
   int&nbsp;index,
   double&nbsp;element)</code>
<div class="block">Inserts the specified element at the specified position in the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(float[], float)">add</a></strong>(float[]&nbsp;array,
   float&nbsp;element)</code>
<div class="block">Copies the given array and adds the given element at the end of the new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(float[], int, float)">add</a></strong>(float[]&nbsp;array,
   int&nbsp;index,
   float&nbsp;element)</code>
<div class="block">Inserts the specified element at the specified position in the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(int[], int)">add</a></strong>(int[]&nbsp;array,
   int&nbsp;element)</code>
<div class="block">Copies the given array and adds the given element at the end of the new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(int[], int, int)">add</a></strong>(int[]&nbsp;array,
   int&nbsp;index,
   int&nbsp;element)</code>
<div class="block">Inserts the specified element at the specified position in the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(long[], int, long)">add</a></strong>(long[]&nbsp;array,
   int&nbsp;index,
   long&nbsp;element)</code>
<div class="block">Inserts the specified element at the specified position in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(long[], long)">add</a></strong>(long[]&nbsp;array,
   long&nbsp;element)</code>
<div class="block">Copies the given array and adds the given element at the end of the new array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(short[], int, short)">add</a></strong>(short[]&nbsp;array,
   int&nbsp;index,
   short&nbsp;element)</code>
<div class="block">Inserts the specified element at the specified position in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(short[], short)">add</a></strong>(short[]&nbsp;array,
   short&nbsp;element)</code>
<div class="block">Copies the given array and adds the given element at the end of the new array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(T[], int, T)">add</a></strong>(T[]&nbsp;array,
   int&nbsp;index,
   T&nbsp;element)</code>
<div class="block">Inserts the specified element at the specified position in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#add(T[], T)">add</a></strong>(T[]&nbsp;array,
   T&nbsp;element)</code>
<div class="block">Copies the given array and adds the given element at the end of the new array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#addAll(boolean[], boolean...)">addAll</a></strong>(boolean[]&nbsp;array1,
      boolean...&nbsp;array2)</code>
<div class="block">Adds all the elements of the given arrays into a new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#addAll(byte[], byte...)">addAll</a></strong>(byte[]&nbsp;array1,
      byte...&nbsp;array2)</code>
<div class="block">Adds all the elements of the given arrays into a new array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#addAll(char[], char...)">addAll</a></strong>(char[]&nbsp;array1,
      char...&nbsp;array2)</code>
<div class="block">Adds all the elements of the given arrays into a new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#addAll(double[], double...)">addAll</a></strong>(double[]&nbsp;array1,
      double...&nbsp;array2)</code>
<div class="block">Adds all the elements of the given arrays into a new array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#addAll(float[], float...)">addAll</a></strong>(float[]&nbsp;array1,
      float...&nbsp;array2)</code>
<div class="block">Adds all the elements of the given arrays into a new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#addAll(int[], int...)">addAll</a></strong>(int[]&nbsp;array1,
      int...&nbsp;array2)</code>
<div class="block">Adds all the elements of the given arrays into a new array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#addAll(long[], long...)">addAll</a></strong>(long[]&nbsp;array1,
      long...&nbsp;array2)</code>
<div class="block">Adds all the elements of the given arrays into a new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#addAll(short[], short...)">addAll</a></strong>(short[]&nbsp;array1,
      short...&nbsp;array2)</code>
<div class="block">Adds all the elements of the given arrays into a new array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#addAll(T[], T...)">addAll</a></strong>(T[]&nbsp;array1,
      T...&nbsp;array2)</code>
<div class="block">Adds all the elements of the given arrays into a new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#clone(boolean[])">clone</a></strong>(boolean[]&nbsp;array)</code>
<div class="block">Clones an array returning a typecast result and handling
 <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#clone(byte[])">clone</a></strong>(byte[]&nbsp;array)</code>
<div class="block">Clones an array returning a typecast result and handling
 <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#clone(char[])">clone</a></strong>(char[]&nbsp;array)</code>
<div class="block">Clones an array returning a typecast result and handling
 <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#clone(double[])">clone</a></strong>(double[]&nbsp;array)</code>
<div class="block">Clones an array returning a typecast result and handling
 <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#clone(float[])">clone</a></strong>(float[]&nbsp;array)</code>
<div class="block">Clones an array returning a typecast result and handling
 <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#clone(int[])">clone</a></strong>(int[]&nbsp;array)</code>
<div class="block">Clones an array returning a typecast result and handling
 <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#clone(long[])">clone</a></strong>(long[]&nbsp;array)</code>
<div class="block">Clones an array returning a typecast result and handling
 <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#clone(short[])">clone</a></strong>(short[]&nbsp;array)</code>
<div class="block">Clones an array returning a typecast result and handling
 <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#clone(T[])">clone</a></strong>(T[]&nbsp;array)</code>
<div class="block">Shallow clones an array returning a typecast result and handling
 <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#contains(boolean[], boolean)">contains</a></strong>(boolean[]&nbsp;array,
        boolean&nbsp;valueToFind)</code>
<div class="block">Checks if the value is in the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#contains(byte[], byte)">contains</a></strong>(byte[]&nbsp;array,
        byte&nbsp;valueToFind)</code>
<div class="block">Checks if the value is in the given array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#contains(char[], char)">contains</a></strong>(char[]&nbsp;array,
        char&nbsp;valueToFind)</code>
<div class="block">Checks if the value is in the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#contains(double[], double)">contains</a></strong>(double[]&nbsp;array,
        double&nbsp;valueToFind)</code>
<div class="block">Checks if the value is in the given array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#contains(double[], double, double)">contains</a></strong>(double[]&nbsp;array,
        double&nbsp;valueToFind,
        double&nbsp;tolerance)</code>
<div class="block">Checks if a value falling within the given tolerance is in the
 given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#contains(float[], float)">contains</a></strong>(float[]&nbsp;array,
        float&nbsp;valueToFind)</code>
<div class="block">Checks if the value is in the given array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#contains(int[], int)">contains</a></strong>(int[]&nbsp;array,
        int&nbsp;valueToFind)</code>
<div class="block">Checks if the value is in the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#contains(long[], long)">contains</a></strong>(long[]&nbsp;array,
        long&nbsp;valueToFind)</code>
<div class="block">Checks if the value is in the given array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#contains(java.lang.Object[], java.lang.Object)">contains</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;objectToFind)</code>
<div class="block">Checks if the object is in the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#contains(short[], short)">contains</a></strong>(short[]&nbsp;array,
        short&nbsp;valueToFind)</code>
<div class="block">Checks if the value is in the given array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#getLength(java.lang.Object)">getLength</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array)</code>
<div class="block">Returns the length of the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#hashCode(java.lang.Object)">hashCode</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array)</code>
<div class="block">Get a hash code for an array handling multi-dimensional arrays correctly.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(boolean[], boolean)">indexOf</a></strong>(boolean[]&nbsp;array,
       boolean&nbsp;valueToFind)</code>
<div class="block">Finds the index of the given value in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(boolean[], boolean, int)">indexOf</a></strong>(boolean[]&nbsp;array,
       boolean&nbsp;valueToFind,
       int&nbsp;startIndex)</code>
<div class="block">Finds the index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(byte[], byte)">indexOf</a></strong>(byte[]&nbsp;array,
       byte&nbsp;valueToFind)</code>
<div class="block">Finds the index of the given value in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(byte[], byte, int)">indexOf</a></strong>(byte[]&nbsp;array,
       byte&nbsp;valueToFind,
       int&nbsp;startIndex)</code>
<div class="block">Finds the index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(char[], char)">indexOf</a></strong>(char[]&nbsp;array,
       char&nbsp;valueToFind)</code>
<div class="block">Finds the index of the given value in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(char[], char, int)">indexOf</a></strong>(char[]&nbsp;array,
       char&nbsp;valueToFind,
       int&nbsp;startIndex)</code>
<div class="block">Finds the index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(double[], double)">indexOf</a></strong>(double[]&nbsp;array,
       double&nbsp;valueToFind)</code>
<div class="block">Finds the index of the given value in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(double[], double, double)">indexOf</a></strong>(double[]&nbsp;array,
       double&nbsp;valueToFind,
       double&nbsp;tolerance)</code>
<div class="block">Finds the index of the given value within a given tolerance in the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(double[], double, int)">indexOf</a></strong>(double[]&nbsp;array,
       double&nbsp;valueToFind,
       int&nbsp;startIndex)</code>
<div class="block">Finds the index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(double[], double, int, double)">indexOf</a></strong>(double[]&nbsp;array,
       double&nbsp;valueToFind,
       int&nbsp;startIndex,
       double&nbsp;tolerance)</code>
<div class="block">Finds the index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(float[], float)">indexOf</a></strong>(float[]&nbsp;array,
       float&nbsp;valueToFind)</code>
<div class="block">Finds the index of the given value in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(float[], float, int)">indexOf</a></strong>(float[]&nbsp;array,
       float&nbsp;valueToFind,
       int&nbsp;startIndex)</code>
<div class="block">Finds the index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(int[], int)">indexOf</a></strong>(int[]&nbsp;array,
       int&nbsp;valueToFind)</code>
<div class="block">Finds the index of the given value in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(int[], int, int)">indexOf</a></strong>(int[]&nbsp;array,
       int&nbsp;valueToFind,
       int&nbsp;startIndex)</code>
<div class="block">Finds the index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(long[], long)">indexOf</a></strong>(long[]&nbsp;array,
       long&nbsp;valueToFind)</code>
<div class="block">Finds the index of the given value in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(long[], long, int)">indexOf</a></strong>(long[]&nbsp;array,
       long&nbsp;valueToFind,
       int&nbsp;startIndex)</code>
<div class="block">Finds the index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(java.lang.Object[], java.lang.Object)">indexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;objectToFind)</code>
<div class="block">Finds the index of the given object in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(java.lang.Object[], java.lang.Object, int)">indexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;objectToFind,
       int&nbsp;startIndex)</code>
<div class="block">Finds the index of the given object in the array starting at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(short[], short)">indexOf</a></strong>(short[]&nbsp;array,
       short&nbsp;valueToFind)</code>
<div class="block">Finds the index of the given value in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#indexOf(short[], short, int)">indexOf</a></strong>(short[]&nbsp;array,
       short&nbsp;valueToFind,
       int&nbsp;startIndex)</code>
<div class="block">Finds the index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isEmpty(boolean[])">isEmpty</a></strong>(boolean[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive booleans is empty or <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isEmpty(byte[])">isEmpty</a></strong>(byte[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive bytes is empty or <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isEmpty(char[])">isEmpty</a></strong>(char[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive chars is empty or <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isEmpty(double[])">isEmpty</a></strong>(double[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive doubles is empty or <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isEmpty(float[])">isEmpty</a></strong>(float[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive floats is empty or <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isEmpty(int[])">isEmpty</a></strong>(int[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive ints is empty or <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isEmpty(long[])">isEmpty</a></strong>(long[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive longs is empty or <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isEmpty(java.lang.Object[])">isEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array)</code>
<div class="block">Checks if an array of Objects is empty or <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isEmpty(short[])">isEmpty</a></strong>(short[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive shorts is empty or <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isEquals(java.lang.Object, java.lang.Object)">isEquals</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array1,
        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array2)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>this method has been replaced by <code>java.util.Objects.deepEquals(Object, Object)</code> and will be
 removed from future releases.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isNotEmpty(boolean[])">isNotEmpty</a></strong>(boolean[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive booleans is not empty or not <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isNotEmpty(byte[])">isNotEmpty</a></strong>(byte[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive bytes is not empty or not <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isNotEmpty(char[])">isNotEmpty</a></strong>(char[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive chars is not empty or not <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isNotEmpty(double[])">isNotEmpty</a></strong>(double[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive doubles is not empty or not <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isNotEmpty(float[])">isNotEmpty</a></strong>(float[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive floats is not empty or not <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isNotEmpty(int[])">isNotEmpty</a></strong>(int[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive ints is not empty or not <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isNotEmpty(long[])">isNotEmpty</a></strong>(long[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive longs is not empty or not <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isNotEmpty(short[])">isNotEmpty</a></strong>(short[]&nbsp;array)</code>
<div class="block">Checks if an array of primitive shorts is not empty or not <code>null</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isNotEmpty(T[])">isNotEmpty</a></strong>(T[]&nbsp;array)</code>
<div class="block">Checks if an array of Objects is not empty or not <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isSameLength(boolean[], boolean[])">isSameLength</a></strong>(boolean[]&nbsp;array1,
            boolean[]&nbsp;array2)</code>
<div class="block">Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isSameLength(byte[], byte[])">isSameLength</a></strong>(byte[]&nbsp;array1,
            byte[]&nbsp;array2)</code>
<div class="block">Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isSameLength(char[], char[])">isSameLength</a></strong>(char[]&nbsp;array1,
            char[]&nbsp;array2)</code>
<div class="block">Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isSameLength(double[], double[])">isSameLength</a></strong>(double[]&nbsp;array1,
            double[]&nbsp;array2)</code>
<div class="block">Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isSameLength(float[], float[])">isSameLength</a></strong>(float[]&nbsp;array1,
            float[]&nbsp;array2)</code>
<div class="block">Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isSameLength(int[], int[])">isSameLength</a></strong>(int[]&nbsp;array1,
            int[]&nbsp;array2)</code>
<div class="block">Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isSameLength(long[], long[])">isSameLength</a></strong>(long[]&nbsp;array1,
            long[]&nbsp;array2)</code>
<div class="block">Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isSameLength(java.lang.Object[], java.lang.Object[])">isSameLength</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array1,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array2)</code>
<div class="block">Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isSameLength(short[], short[])">isSameLength</a></strong>(short[]&nbsp;array1,
            short[]&nbsp;array2)</code>
<div class="block">Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#isSameType(java.lang.Object, java.lang.Object)">isSameType</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array1,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array2)</code>
<div class="block">Checks whether two arrays are the same type taking into account
 multi-dimensional arrays.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(boolean[], boolean)">lastIndexOf</a></strong>(boolean[]&nbsp;array,
           boolean&nbsp;valueToFind)</code>
<div class="block">Finds the last index of the given value within the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(boolean[], boolean, int)">lastIndexOf</a></strong>(boolean[]&nbsp;array,
           boolean&nbsp;valueToFind,
           int&nbsp;startIndex)</code>
<div class="block">Finds the last index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(byte[], byte)">lastIndexOf</a></strong>(byte[]&nbsp;array,
           byte&nbsp;valueToFind)</code>
<div class="block">Finds the last index of the given value within the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(byte[], byte, int)">lastIndexOf</a></strong>(byte[]&nbsp;array,
           byte&nbsp;valueToFind,
           int&nbsp;startIndex)</code>
<div class="block">Finds the last index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(char[], char)">lastIndexOf</a></strong>(char[]&nbsp;array,
           char&nbsp;valueToFind)</code>
<div class="block">Finds the last index of the given value within the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(char[], char, int)">lastIndexOf</a></strong>(char[]&nbsp;array,
           char&nbsp;valueToFind,
           int&nbsp;startIndex)</code>
<div class="block">Finds the last index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(double[], double)">lastIndexOf</a></strong>(double[]&nbsp;array,
           double&nbsp;valueToFind)</code>
<div class="block">Finds the last index of the given value within the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(double[], double, double)">lastIndexOf</a></strong>(double[]&nbsp;array,
           double&nbsp;valueToFind,
           double&nbsp;tolerance)</code>
<div class="block">Finds the last index of the given value within a given tolerance in the array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(double[], double, int)">lastIndexOf</a></strong>(double[]&nbsp;array,
           double&nbsp;valueToFind,
           int&nbsp;startIndex)</code>
<div class="block">Finds the last index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(double[], double, int, double)">lastIndexOf</a></strong>(double[]&nbsp;array,
           double&nbsp;valueToFind,
           int&nbsp;startIndex,
           double&nbsp;tolerance)</code>
<div class="block">Finds the last index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(float[], float)">lastIndexOf</a></strong>(float[]&nbsp;array,
           float&nbsp;valueToFind)</code>
<div class="block">Finds the last index of the given value within the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(float[], float, int)">lastIndexOf</a></strong>(float[]&nbsp;array,
           float&nbsp;valueToFind,
           int&nbsp;startIndex)</code>
<div class="block">Finds the last index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(int[], int)">lastIndexOf</a></strong>(int[]&nbsp;array,
           int&nbsp;valueToFind)</code>
<div class="block">Finds the last index of the given value within the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(int[], int, int)">lastIndexOf</a></strong>(int[]&nbsp;array,
           int&nbsp;valueToFind,
           int&nbsp;startIndex)</code>
<div class="block">Finds the last index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(long[], long)">lastIndexOf</a></strong>(long[]&nbsp;array,
           long&nbsp;valueToFind)</code>
<div class="block">Finds the last index of the given value within the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(long[], long, int)">lastIndexOf</a></strong>(long[]&nbsp;array,
           long&nbsp;valueToFind,
           int&nbsp;startIndex)</code>
<div class="block">Finds the last index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(java.lang.Object[], java.lang.Object)">lastIndexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;objectToFind)</code>
<div class="block">Finds the last index of the given object within the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(java.lang.Object[], java.lang.Object, int)">lastIndexOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;objectToFind,
           int&nbsp;startIndex)</code>
<div class="block">Finds the last index of the given object in the array starting at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(short[], short)">lastIndexOf</a></strong>(short[]&nbsp;array,
           short&nbsp;valueToFind)</code>
<div class="block">Finds the last index of the given value within the array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#lastIndexOf(short[], short, int)">lastIndexOf</a></strong>(short[]&nbsp;array,
           short&nbsp;valueToFind,
           int&nbsp;startIndex)</code>
<div class="block">Finds the last index of the given value in the array starting at the given index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(boolean[])">nullToEmpty</a></strong>(boolean[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(java.lang.Boolean[])">nullToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(byte[])">nullToEmpty</a></strong>(byte[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(java.lang.Byte[])">nullToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(char[])">nullToEmpty</a></strong>(char[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(java.lang.Character[])">nullToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(java.lang.Class[])">nullToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(double[])">nullToEmpty</a></strong>(double[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(java.lang.Double[])">nullToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(float[])">nullToEmpty</a></strong>(float[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(java.lang.Float[])">nullToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(int[])">nullToEmpty</a></strong>(int[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(java.lang.Integer[])">nullToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(long[])">nullToEmpty</a></strong>(long[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(java.lang.Long[])">nullToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(java.lang.Object[])">nullToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(short[])">nullToEmpty</a></strong>(short[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(java.lang.Short[])">nullToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#nullToEmpty(java.lang.String[])">nullToEmpty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;array)</code>
<div class="block">Defensive programming technique to change a <code>null</code>
 reference to an empty one.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#remove(boolean[], int)">remove</a></strong>(boolean[]&nbsp;array,
      int&nbsp;index)</code>
<div class="block">Removes the element at the specified position from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#remove(byte[], int)">remove</a></strong>(byte[]&nbsp;array,
      int&nbsp;index)</code>
<div class="block">Removes the element at the specified position from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#remove(char[], int)">remove</a></strong>(char[]&nbsp;array,
      int&nbsp;index)</code>
<div class="block">Removes the element at the specified position from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#remove(double[], int)">remove</a></strong>(double[]&nbsp;array,
      int&nbsp;index)</code>
<div class="block">Removes the element at the specified position from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#remove(float[], int)">remove</a></strong>(float[]&nbsp;array,
      int&nbsp;index)</code>
<div class="block">Removes the element at the specified position from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#remove(int[], int)">remove</a></strong>(int[]&nbsp;array,
      int&nbsp;index)</code>
<div class="block">Removes the element at the specified position from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#remove(long[], int)">remove</a></strong>(long[]&nbsp;array,
      int&nbsp;index)</code>
<div class="block">Removes the element at the specified position from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#remove(short[], int)">remove</a></strong>(short[]&nbsp;array,
      int&nbsp;index)</code>
<div class="block">Removes the element at the specified position from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#remove(T[], int)">remove</a></strong>(T[]&nbsp;array,
      int&nbsp;index)</code>
<div class="block">Removes the element at the specified position from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeAll(boolean[], int...)">removeAll</a></strong>(boolean[]&nbsp;array,
         int...&nbsp;indices)</code>
<div class="block">Removes the elements at the specified positions from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeAll(byte[], int...)">removeAll</a></strong>(byte[]&nbsp;array,
         int...&nbsp;indices)</code>
<div class="block">Removes the elements at the specified positions from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeAll(char[], int...)">removeAll</a></strong>(char[]&nbsp;array,
         int...&nbsp;indices)</code>
<div class="block">Removes the elements at the specified positions from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeAll(double[], int...)">removeAll</a></strong>(double[]&nbsp;array,
         int...&nbsp;indices)</code>
<div class="block">Removes the elements at the specified positions from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeAll(float[], int...)">removeAll</a></strong>(float[]&nbsp;array,
         int...&nbsp;indices)</code>
<div class="block">Removes the elements at the specified positions from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeAll(int[], int...)">removeAll</a></strong>(int[]&nbsp;array,
         int...&nbsp;indices)</code>
<div class="block">Removes the elements at the specified positions from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeAll(long[], int...)">removeAll</a></strong>(long[]&nbsp;array,
         int...&nbsp;indices)</code>
<div class="block">Removes the elements at the specified positions from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeAll(short[], int...)">removeAll</a></strong>(short[]&nbsp;array,
         int...&nbsp;indices)</code>
<div class="block">Removes the elements at the specified positions from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeAll(T[], int...)">removeAll</a></strong>(T[]&nbsp;array,
         int...&nbsp;indices)</code>
<div class="block">Removes the elements at the specified positions from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElement(boolean[], boolean)">removeElement</a></strong>(boolean[]&nbsp;array,
             boolean&nbsp;element)</code>
<div class="block">Removes the first occurrence of the specified element from the
 specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElement(byte[], byte)">removeElement</a></strong>(byte[]&nbsp;array,
             byte&nbsp;element)</code>
<div class="block">Removes the first occurrence of the specified element from the
 specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElement(char[], char)">removeElement</a></strong>(char[]&nbsp;array,
             char&nbsp;element)</code>
<div class="block">Removes the first occurrence of the specified element from the
 specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElement(double[], double)">removeElement</a></strong>(double[]&nbsp;array,
             double&nbsp;element)</code>
<div class="block">Removes the first occurrence of the specified element from the
 specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElement(float[], float)">removeElement</a></strong>(float[]&nbsp;array,
             float&nbsp;element)</code>
<div class="block">Removes the first occurrence of the specified element from the
 specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElement(int[], int)">removeElement</a></strong>(int[]&nbsp;array,
             int&nbsp;element)</code>
<div class="block">Removes the first occurrence of the specified element from the
 specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElement(long[], long)">removeElement</a></strong>(long[]&nbsp;array,
             long&nbsp;element)</code>
<div class="block">Removes the first occurrence of the specified element from the
 specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElement(short[], short)">removeElement</a></strong>(short[]&nbsp;array,
             short&nbsp;element)</code>
<div class="block">Removes the first occurrence of the specified element from the
 specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElement(T[], java.lang.Object)">removeElement</a></strong>(T[]&nbsp;array,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;element)</code>
<div class="block">Removes the first occurrence of the specified element from the
 specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElements(boolean[], boolean...)">removeElements</a></strong>(boolean[]&nbsp;array,
              boolean...&nbsp;values)</code>
<div class="block">Removes occurrences of specified elements, in specified quantities,
 from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElements(byte[], byte...)">removeElements</a></strong>(byte[]&nbsp;array,
              byte...&nbsp;values)</code>
<div class="block">Removes occurrences of specified elements, in specified quantities,
 from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElements(char[], char...)">removeElements</a></strong>(char[]&nbsp;array,
              char...&nbsp;values)</code>
<div class="block">Removes occurrences of specified elements, in specified quantities,
 from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElements(double[], double...)">removeElements</a></strong>(double[]&nbsp;array,
              double...&nbsp;values)</code>
<div class="block">Removes occurrences of specified elements, in specified quantities,
 from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElements(float[], float...)">removeElements</a></strong>(float[]&nbsp;array,
              float...&nbsp;values)</code>
<div class="block">Removes occurrences of specified elements, in specified quantities,
 from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElements(int[], int...)">removeElements</a></strong>(int[]&nbsp;array,
              int...&nbsp;values)</code>
<div class="block">Removes occurrences of specified elements, in specified quantities,
 from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElements(long[], long...)">removeElements</a></strong>(long[]&nbsp;array,
              long...&nbsp;values)</code>
<div class="block">Removes occurrences of specified elements, in specified quantities,
 from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElements(short[], short...)">removeElements</a></strong>(short[]&nbsp;array,
              short...&nbsp;values)</code>
<div class="block">Removes occurrences of specified elements, in specified quantities,
 from the specified array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#removeElements(T[], T...)">removeElements</a></strong>(T[]&nbsp;array,
              T...&nbsp;values)</code>
<div class="block">Removes occurrences of specified elements, in specified quantities,
 from the specified array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(boolean[])">reverse</a></strong>(boolean[]&nbsp;array)</code>
<div class="block">Reverses the order of the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(boolean[], int, int)">reverse</a></strong>(boolean[]&nbsp;array,
       int&nbsp;startIndexInclusive,
       int&nbsp;endIndexExclusive)</code>
<div class="block">
 Reverses the order of the given array in the given range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(byte[])">reverse</a></strong>(byte[]&nbsp;array)</code>
<div class="block">Reverses the order of the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(byte[], int, int)">reverse</a></strong>(byte[]&nbsp;array,
       int&nbsp;startIndexInclusive,
       int&nbsp;endIndexExclusive)</code>
<div class="block">
 Reverses the order of the given array in the given range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(char[])">reverse</a></strong>(char[]&nbsp;array)</code>
<div class="block">Reverses the order of the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(char[], int, int)">reverse</a></strong>(char[]&nbsp;array,
       int&nbsp;startIndexInclusive,
       int&nbsp;endIndexExclusive)</code>
<div class="block">
 Reverses the order of the given array in the given range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(double[])">reverse</a></strong>(double[]&nbsp;array)</code>
<div class="block">Reverses the order of the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(double[], int, int)">reverse</a></strong>(double[]&nbsp;array,
       int&nbsp;startIndexInclusive,
       int&nbsp;endIndexExclusive)</code>
<div class="block">
 Reverses the order of the given array in the given range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(float[])">reverse</a></strong>(float[]&nbsp;array)</code>
<div class="block">Reverses the order of the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(float[], int, int)">reverse</a></strong>(float[]&nbsp;array,
       int&nbsp;startIndexInclusive,
       int&nbsp;endIndexExclusive)</code>
<div class="block">
 Reverses the order of the given array in the given range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(int[])">reverse</a></strong>(int[]&nbsp;array)</code>
<div class="block">Reverses the order of the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(int[], int, int)">reverse</a></strong>(int[]&nbsp;array,
       int&nbsp;startIndexInclusive,
       int&nbsp;endIndexExclusive)</code>
<div class="block">
 Reverses the order of the given array in the given range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(long[])">reverse</a></strong>(long[]&nbsp;array)</code>
<div class="block">Reverses the order of the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(long[], int, int)">reverse</a></strong>(long[]&nbsp;array,
       int&nbsp;startIndexInclusive,
       int&nbsp;endIndexExclusive)</code>
<div class="block">
 Reverses the order of the given array in the given range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(java.lang.Object[])">reverse</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array)</code>
<div class="block">Reverses the order of the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(java.lang.Object[], int, int)">reverse</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
       int&nbsp;startIndexInclusive,
       int&nbsp;endIndexExclusive)</code>
<div class="block">
 Reverses the order of the given array in the given range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(short[])">reverse</a></strong>(short[]&nbsp;array)</code>
<div class="block">Reverses the order of the given array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#reverse(short[], int, int)">reverse</a></strong>(short[]&nbsp;array,
       int&nbsp;startIndexInclusive,
       int&nbsp;endIndexExclusive)</code>
<div class="block">
 Reverses the order of the given array in the given range.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#subarray(boolean[], int, int)">subarray</a></strong>(boolean[]&nbsp;array,
        int&nbsp;startIndexInclusive,
        int&nbsp;endIndexExclusive)</code>
<div class="block">Produces a new <code>boolean</code> array containing the elements
 between the start and end indices.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#subarray(byte[], int, int)">subarray</a></strong>(byte[]&nbsp;array,
        int&nbsp;startIndexInclusive,
        int&nbsp;endIndexExclusive)</code>
<div class="block">Produces a new <code>byte</code> array containing the elements
 between the start and end indices.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#subarray(char[], int, int)">subarray</a></strong>(char[]&nbsp;array,
        int&nbsp;startIndexInclusive,
        int&nbsp;endIndexExclusive)</code>
<div class="block">Produces a new <code>char</code> array containing the elements
 between the start and end indices.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#subarray(double[], int, int)">subarray</a></strong>(double[]&nbsp;array,
        int&nbsp;startIndexInclusive,
        int&nbsp;endIndexExclusive)</code>
<div class="block">Produces a new <code>double</code> array containing the elements
 between the start and end indices.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#subarray(float[], int, int)">subarray</a></strong>(float[]&nbsp;array,
        int&nbsp;startIndexInclusive,
        int&nbsp;endIndexExclusive)</code>
<div class="block">Produces a new <code>float</code> array containing the elements
 between the start and end indices.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#subarray(int[], int, int)">subarray</a></strong>(int[]&nbsp;array,
        int&nbsp;startIndexInclusive,
        int&nbsp;endIndexExclusive)</code>
<div class="block">Produces a new <code>int</code> array containing the elements
 between the start and end indices.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#subarray(long[], int, int)">subarray</a></strong>(long[]&nbsp;array,
        int&nbsp;startIndexInclusive,
        int&nbsp;endIndexExclusive)</code>
<div class="block">Produces a new <code>long</code> array containing the elements
 between the start and end indices.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#subarray(short[], int, int)">subarray</a></strong>(short[]&nbsp;array,
        int&nbsp;startIndexInclusive,
        int&nbsp;endIndexExclusive)</code>
<div class="block">Produces a new <code>short</code> array containing the elements
 between the start and end indices.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#subarray(T[], int, int)">subarray</a></strong>(T[]&nbsp;array,
        int&nbsp;startIndexInclusive,
        int&nbsp;endIndexExclusive)</code>
<div class="block">Produces a new array containing the elements between
 the start and end indices.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toArray(T...)">toArray</a></strong>(T...&nbsp;items)</code>
<div class="block">Create a type-safe generic array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toMap(java.lang.Object[])">toMap</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array)</code>
<div class="block">Converts the given array into a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toObject(boolean[])">toObject</a></strong>(boolean[]&nbsp;array)</code>
<div class="block">Converts an array of primitive booleans to objects.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toObject(byte[])">toObject</a></strong>(byte[]&nbsp;array)</code>
<div class="block">Converts an array of primitive bytes to objects.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toObject(char[])">toObject</a></strong>(char[]&nbsp;array)</code>
<div class="block">Converts an array of primitive chars to objects.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toObject(double[])">toObject</a></strong>(double[]&nbsp;array)</code>
<div class="block">Converts an array of primitive doubles to objects.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toObject(float[])">toObject</a></strong>(float[]&nbsp;array)</code>
<div class="block">Converts an array of primitive floats to objects.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toObject(int[])">toObject</a></strong>(int[]&nbsp;array)</code>
<div class="block">Converts an array of primitive ints to objects.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toObject(long[])">toObject</a></strong>(long[]&nbsp;array)</code>
<div class="block">Converts an array of primitive longs to objects.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toObject(short[])">toObject</a></strong>(short[]&nbsp;array)</code>
<div class="block">Converts an array of primitive shorts to objects.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Boolean[])">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[]&nbsp;array)</code>
<div class="block">Converts an array of object Booleans to primitives.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Boolean[], boolean)">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[]&nbsp;array,
           boolean&nbsp;valueForNull)</code>
<div class="block">Converts an array of object Booleans to primitives handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Byte[])">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[]&nbsp;array)</code>
<div class="block">Converts an array of object Bytes to primitives.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Byte[], byte)">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[]&nbsp;array,
           byte&nbsp;valueForNull)</code>
<div class="block">Converts an array of object Bytes to primitives handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Character[])">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[]&nbsp;array)</code>
<div class="block">Converts an array of object Characters to primitives.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Character[], char)">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[]&nbsp;array,
           char&nbsp;valueForNull)</code>
<div class="block">Converts an array of object Character to primitives handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Double[])">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[]&nbsp;array)</code>
<div class="block">Converts an array of object Doubles to primitives.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Double[], double)">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[]&nbsp;array,
           double&nbsp;valueForNull)</code>
<div class="block">Converts an array of object Doubles to primitives handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Float[])">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[]&nbsp;array)</code>
<div class="block">Converts an array of object Floats to primitives.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Float[], float)">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[]&nbsp;array,
           float&nbsp;valueForNull)</code>
<div class="block">Converts an array of object Floats to primitives handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Integer[])">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]&nbsp;array)</code>
<div class="block">Converts an array of object Integers to primitives.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Integer[], int)">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]&nbsp;array,
           int&nbsp;valueForNull)</code>
<div class="block">Converts an array of object Integer to primitives handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Long[])">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[]&nbsp;array)</code>
<div class="block">Converts an array of object Longs to primitives.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Long[], long)">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[]&nbsp;array,
           long&nbsp;valueForNull)</code>
<div class="block">Converts an array of object Long to primitives handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Short[])">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[]&nbsp;array)</code>
<div class="block">Converts an array of object Shorts to primitives.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toPrimitive(java.lang.Short[], short)">toPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[]&nbsp;array,
           short&nbsp;valueForNull)</code>
<div class="block">Converts an array of object Short to primitives handling <code>null</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toString(java.lang.Object)">toString</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array)</code>
<div class="block">Outputs an array as a String, treating <code>null</code> as an empty array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ArrayUtils.html#toString(java.lang.Object, java.lang.String)">toString</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array,
        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stringIfNull)</code>
<div class="block">Outputs an array as a String handling <code>null</code>s.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="EMPTY_OBJECT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_OBJECT_ARRAY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] EMPTY_OBJECT_ARRAY</pre>
<div class="block">An empty immutable <code>Object</code> array.</div>
</li>
</ul>
<a name="EMPTY_CLASS_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_CLASS_ARRAY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[] EMPTY_CLASS_ARRAY</pre>
<div class="block">An empty immutable <code>Class</code> array.</div>
</li>
</ul>
<a name="EMPTY_STRING_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_STRING_ARRAY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] EMPTY_STRING_ARRAY</pre>
<div class="block">An empty immutable <code>String</code> array.</div>
</li>
</ul>
<a name="EMPTY_LONG_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_LONG_ARRAY</h4>
<pre>public static final&nbsp;long[] EMPTY_LONG_ARRAY</pre>
<div class="block">An empty immutable <code>long</code> array.</div>
</li>
</ul>
<a name="EMPTY_LONG_OBJECT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_LONG_OBJECT_ARRAY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[] EMPTY_LONG_OBJECT_ARRAY</pre>
<div class="block">An empty immutable <code>Long</code> array.</div>
</li>
</ul>
<a name="EMPTY_INT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_INT_ARRAY</h4>
<pre>public static final&nbsp;int[] EMPTY_INT_ARRAY</pre>
<div class="block">An empty immutable <code>int</code> array.</div>
</li>
</ul>
<a name="EMPTY_INTEGER_OBJECT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_INTEGER_OBJECT_ARRAY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[] EMPTY_INTEGER_OBJECT_ARRAY</pre>
<div class="block">An empty immutable <code>Integer</code> array.</div>
</li>
</ul>
<a name="EMPTY_SHORT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_SHORT_ARRAY</h4>
<pre>public static final&nbsp;short[] EMPTY_SHORT_ARRAY</pre>
<div class="block">An empty immutable <code>short</code> array.</div>
</li>
</ul>
<a name="EMPTY_SHORT_OBJECT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_SHORT_OBJECT_ARRAY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[] EMPTY_SHORT_OBJECT_ARRAY</pre>
<div class="block">An empty immutable <code>Short</code> array.</div>
</li>
</ul>
<a name="EMPTY_BYTE_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_BYTE_ARRAY</h4>
<pre>public static final&nbsp;byte[] EMPTY_BYTE_ARRAY</pre>
<div class="block">An empty immutable <code>byte</code> array.</div>
</li>
</ul>
<a name="EMPTY_BYTE_OBJECT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_BYTE_OBJECT_ARRAY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[] EMPTY_BYTE_OBJECT_ARRAY</pre>
<div class="block">An empty immutable <code>Byte</code> array.</div>
</li>
</ul>
<a name="EMPTY_DOUBLE_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_DOUBLE_ARRAY</h4>
<pre>public static final&nbsp;double[] EMPTY_DOUBLE_ARRAY</pre>
<div class="block">An empty immutable <code>double</code> array.</div>
</li>
</ul>
<a name="EMPTY_DOUBLE_OBJECT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_DOUBLE_OBJECT_ARRAY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[] EMPTY_DOUBLE_OBJECT_ARRAY</pre>
<div class="block">An empty immutable <code>Double</code> array.</div>
</li>
</ul>
<a name="EMPTY_FLOAT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_FLOAT_ARRAY</h4>
<pre>public static final&nbsp;float[] EMPTY_FLOAT_ARRAY</pre>
<div class="block">An empty immutable <code>float</code> array.</div>
</li>
</ul>
<a name="EMPTY_FLOAT_OBJECT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_FLOAT_OBJECT_ARRAY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[] EMPTY_FLOAT_OBJECT_ARRAY</pre>
<div class="block">An empty immutable <code>Float</code> array.</div>
</li>
</ul>
<a name="EMPTY_BOOLEAN_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_BOOLEAN_ARRAY</h4>
<pre>public static final&nbsp;boolean[] EMPTY_BOOLEAN_ARRAY</pre>
<div class="block">An empty immutable <code>boolean</code> array.</div>
</li>
</ul>
<a name="EMPTY_BOOLEAN_OBJECT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_BOOLEAN_OBJECT_ARRAY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[] EMPTY_BOOLEAN_OBJECT_ARRAY</pre>
<div class="block">An empty immutable <code>Boolean</code> array.</div>
</li>
</ul>
<a name="EMPTY_CHAR_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_CHAR_ARRAY</h4>
<pre>public static final&nbsp;char[] EMPTY_CHAR_ARRAY</pre>
<div class="block">An empty immutable <code>char</code> array.</div>
</li>
</ul>
<a name="EMPTY_CHARACTER_OBJECT_ARRAY">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_CHARACTER_OBJECT_ARRAY</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[] EMPTY_CHARACTER_OBJECT_ARRAY</pre>
<div class="block">An empty immutable <code>Character</code> array.</div>
</li>
</ul>
<a name="INDEX_NOT_FOUND">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>INDEX_NOT_FOUND</h4>
<pre>public static final&nbsp;int INDEX_NOT_FOUND</pre>
<div class="block">The index value when an element is not found in a list or array: <code>-1</code>.
 This value is returned by methods in this class and can also be used in comparisons with values returned by
 various method from <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.commons.lang3.ArrayUtils.INDEX_NOT_FOUND">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="ArrayUtils()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ArrayUtils</h4>
<pre>public&nbsp;ArrayUtils()</pre>
<div class="block"><p>ArrayUtils instances should NOT be constructed in standard programming.
 Instead, the class should be used as <code>ArrayUtils.clone(new int[] {2})</code>.</p>

 <p>This constructor is public to permit tools that require a JavaBean instance
 to operate.</p></div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="toString(java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array)</pre>
<div class="block"><p>Outputs an array as a String, treating <code>null</code> as an empty array.</p>

 <p>Multi-dimensional arrays are handled correctly, including
 multi-dimensional primitive arrays.</p>

 <p>The format is that of Java source code, for example <code>{a,b}</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to get a toString for, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a String representation of the array, '{}' if null array input</dd></dl>
</li>
</ul>
<a name="toString(java.lang.Object, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;stringIfNull)</pre>
<div class="block"><p>Outputs an array as a String handling <code>null</code>s.</p>

 <p>Multi-dimensional arrays are handled correctly, including
 multi-dimensional primitive arrays.</p>

 <p>The format is that of Java source code, for example <code>{a,b}</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to get a toString for, may be <code>null</code></dd><dd><code>stringIfNull</code> - the String to return if the array is <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a String representation of the array</dd></dl>
</li>
</ul>
<a name="hashCode(java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public static&nbsp;int&nbsp;hashCode(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array)</pre>
<div class="block"><p>Get a hash code for an array handling multi-dimensional arrays correctly.</p>

 <p>Multi-dimensional primitive arrays are also handled correctly by this method.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to get a hash code for, <code>null</code> returns zero</dd>
<dt><span class="strong">Returns:</span></dt><dd>a hash code for the array</dd></dl>
</li>
</ul>
<a name="isEquals(java.lang.Object, java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEquals</h4>
<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;boolean&nbsp;isEquals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array1,
                          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array2)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>this method has been replaced by <code>java.util.Objects.deepEquals(Object, Object)</code> and will be
 removed from future releases.</i></div>
<div class="block"><p>Compares two arrays, using equals(), handling multi-dimensional arrays
 correctly.</p>

 <p>Multi-dimensional primitive arrays are also handled correctly by this method.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the left hand array to compare, may be <code>null</code></dd><dd><code>array2</code> - the right hand array to compare, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the arrays are equal</dd></dl>
</li>
</ul>
<a name="toMap(java.lang.Object[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toMap</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;toMap(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array)</pre>
<div class="block"><p>Converts the given array into a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>. Each element of the array
 must be either a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util"><code>Map.Entry</code></a> or an Array, containing at least two
 elements, where the first element is used as key and the second as
 value.</p>

 <p>This method can be used to initialize:</p>
 <pre>
 // Create a Map mapping colors.
 Map colorMap = MapUtils.toMap(new String[][] {{
     {"RED", "#FF0000"},
     {"GREEN", "#00FF00"},
     {"BLUE", "#0000FF"}});
 </pre>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - an array whose elements are either a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util"><code>Map.Entry</code></a> or
  an Array containing at least two elements, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>Map</code> that was created from the array</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if one element of this Array is
  itself an Array containing less then two elements</dd>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the array contains elements other
  than <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util"><code>Map.Entry</code></a> and an Array</dd></dl>
</li>
</ul>
<a name="toArray(java.lang.Object[])">
<!--   -->
</a><a name="toArray(T...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toArray</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;toArray(T...&nbsp;items)</pre>
<div class="block"><p>Create a type-safe generic array.</p>

 <p>The Java language does not allow an array to be created from a generic type:</p>

 <pre>
    public static &lt;T&gt; T[] createAnArray(int size) {
        return new T[size]; // compiler error here
    }
    public static &lt;T&gt; T[] createAnArray(int size) {
        return (T[])new Object[size]; // ClassCastException at runtime
    }
 </pre>

 <p>Therefore new arrays of generic types can be created with this method.
 For example, an array of Strings can be created:</p>

 <pre>
    String[] array = ArrayUtils.toArray("1", "2");
    String[] emptyArray = ArrayUtils.&lt;String&gt;toArray();
 </pre>

 <p>The method is typically used in scenarios, where the caller itself uses generic types
 that have to be combined into an array.</p>

 <p>Note, this method makes only sense to provide arguments of the same type so that the
 compiler can deduce the type of the array itself. While it is possible to select the
 type explicitly like in
 <code>Number[] array = ArrayUtils.&lt;Number&gt;toArray(Integer.valueOf(42), Double.valueOf(Math.PI))</code>,
 there is no real advantage when compared to
 <code>new Number[] {Integer.valueOf(42), Double.valueOf(Math.PI)}</code>.</p></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the array's element type</dd><dt><span class="strong">Parameters:</span></dt><dd><code>items</code> - the varargs array items, null allowed</dd>
<dt><span class="strong">Returns:</span></dt><dd>the array, not null unless a null array is passed in</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0</dd></dl>
</li>
</ul>
<a name="clone(java.lang.Object[])">
<!--   -->
</a><a name="clone(T[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;clone(T[]&nbsp;array)</pre>
<div class="block"><p>Shallow clones an array returning a typecast result and handling
 <code>null</code>.</p>

 <p>The objects in the array are not cloned, thus there is no special
 handling for multi-dimensional arrays.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the component type of the array</dd><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to shallow clone, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the cloned array, <code>null</code> if <code>null</code> input</dd></dl>
</li>
</ul>
<a name="clone(long[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public static&nbsp;long[]&nbsp;clone(long[]&nbsp;array)</pre>
<div class="block"><p>Clones an array returning a typecast result and handling
 <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to clone, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the cloned array, <code>null</code> if <code>null</code> input</dd></dl>
</li>
</ul>
<a name="clone(int[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public static&nbsp;int[]&nbsp;clone(int[]&nbsp;array)</pre>
<div class="block"><p>Clones an array returning a typecast result and handling
 <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to clone, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the cloned array, <code>null</code> if <code>null</code> input</dd></dl>
</li>
</ul>
<a name="clone(short[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public static&nbsp;short[]&nbsp;clone(short[]&nbsp;array)</pre>
<div class="block"><p>Clones an array returning a typecast result and handling
 <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to clone, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the cloned array, <code>null</code> if <code>null</code> input</dd></dl>
</li>
</ul>
<a name="clone(char[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public static&nbsp;char[]&nbsp;clone(char[]&nbsp;array)</pre>
<div class="block"><p>Clones an array returning a typecast result and handling
 <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to clone, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the cloned array, <code>null</code> if <code>null</code> input</dd></dl>
</li>
</ul>
<a name="clone(byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public static&nbsp;byte[]&nbsp;clone(byte[]&nbsp;array)</pre>
<div class="block"><p>Clones an array returning a typecast result and handling
 <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to clone, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the cloned array, <code>null</code> if <code>null</code> input</dd></dl>
</li>
</ul>
<a name="clone(double[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public static&nbsp;double[]&nbsp;clone(double[]&nbsp;array)</pre>
<div class="block"><p>Clones an array returning a typecast result and handling
 <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to clone, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the cloned array, <code>null</code> if <code>null</code> input</dd></dl>
</li>
</ul>
<a name="clone(float[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public static&nbsp;float[]&nbsp;clone(float[]&nbsp;array)</pre>
<div class="block"><p>Clones an array returning a typecast result and handling
 <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to clone, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the cloned array, <code>null</code> if <code>null</code> input</dd></dl>
</li>
</ul>
<a name="clone(boolean[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public static&nbsp;boolean[]&nbsp;clone(boolean[]&nbsp;array)</pre>
<div class="block"><p>Clones an array returning a typecast result and handling
 <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to clone, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the cloned array, <code>null</code> if <code>null</code> input</dd></dl>
</li>
</ul>
<a name="nullToEmpty(java.lang.Object[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;nullToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(java.lang.Class[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;nullToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="nullToEmpty(java.lang.String[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;nullToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(long[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;long[]&nbsp;nullToEmpty(long[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(int[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;int[]&nbsp;nullToEmpty(int[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(short[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;short[]&nbsp;nullToEmpty(short[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(char[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;char[]&nbsp;nullToEmpty(char[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;byte[]&nbsp;nullToEmpty(byte[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(double[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;double[]&nbsp;nullToEmpty(double[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(float[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;float[]&nbsp;nullToEmpty(float[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(boolean[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;boolean[]&nbsp;nullToEmpty(boolean[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(java.lang.Long[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[]&nbsp;nullToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(java.lang.Integer[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]&nbsp;nullToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(java.lang.Short[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[]&nbsp;nullToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(java.lang.Character[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[]&nbsp;nullToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(java.lang.Byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[]&nbsp;nullToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(java.lang.Double[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[]&nbsp;nullToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(java.lang.Float[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[]&nbsp;nullToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="nullToEmpty(java.lang.Boolean[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullToEmpty</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[]&nbsp;nullToEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[]&nbsp;array)</pre>
<div class="block"><p>Defensive programming technique to change a <code>null</code>
 reference to an empty one.</p>

 <p>This method returns an empty array for a <code>null</code> input array.</p>

 <p>As a memory optimizing technique an empty array passed in will be overridden with
 the empty <code>public static</code> references in this class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to check for <code>null</code> or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>the same array, <code>public static</code> empty array if <code>null</code> or empty input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="subarray(java.lang.Object[],int,int)">
<!--   -->
</a><a name="subarray(T[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subarray</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;subarray(T[]&nbsp;array,
               int&nbsp;startIndexInclusive,
               int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>Produces a new array containing the elements between
 the start and end indices.</p>

 <p>The start index is inclusive, the end index exclusive.
 Null array input produces null output.</p>

 <p>The component type of the subarray is always the same as
 that of the input array. Thus, if the input is an array of type
 <code>Date</code>, the following usage is envisaged:</p>

 <pre>
 Date[] someDates = (Date[])ArrayUtils.subarray(allDates, 2, 5);
 </pre></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the component type of the array</dd><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array</dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0)
      is promoted to 0, overvalue (&gt;array.length) results
      in an empty array.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are present in the
      returned subarray. Undervalue (&lt; startIndex) produces
      empty array, overvalue (&gt;array.length) is demoted to
      array length.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new array containing the elements between
      the start and end indices.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html?is-external=true#copyOfRange(T[], int, int)" title="class or interface in java.util"><code>Arrays.copyOfRange(Object[], int, int)</code></a></dd></dl>
</li>
</ul>
<a name="subarray(long[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subarray</h4>
<pre>public static&nbsp;long[]&nbsp;subarray(long[]&nbsp;array,
              int&nbsp;startIndexInclusive,
              int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>Produces a new <code>long</code> array containing the elements
 between the start and end indices.</p>

 <p>The start index is inclusive, the end index exclusive.
 Null array input produces null output.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array</dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0)
      is promoted to 0, overvalue (&gt;array.length) results
      in an empty array.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are present in the
      returned subarray. Undervalue (&lt; startIndex) produces
      empty array, overvalue (&gt;array.length) is demoted to
      array length.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new array containing the elements between
      the start and end indices.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html?is-external=true#copyOfRange(long[], int, int)" title="class or interface in java.util"><code>Arrays.copyOfRange(long[], int, int)</code></a></dd></dl>
</li>
</ul>
<a name="subarray(int[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subarray</h4>
<pre>public static&nbsp;int[]&nbsp;subarray(int[]&nbsp;array,
             int&nbsp;startIndexInclusive,
             int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>Produces a new <code>int</code> array containing the elements
 between the start and end indices.</p>

 <p>The start index is inclusive, the end index exclusive.
 Null array input produces null output.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array</dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0)
      is promoted to 0, overvalue (&gt;array.length) results
      in an empty array.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are present in the
      returned subarray. Undervalue (&lt; startIndex) produces
      empty array, overvalue (&gt;array.length) is demoted to
      array length.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new array containing the elements between
      the start and end indices.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html?is-external=true#copyOfRange(int[], int, int)" title="class or interface in java.util"><code>Arrays.copyOfRange(int[], int, int)</code></a></dd></dl>
</li>
</ul>
<a name="subarray(short[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subarray</h4>
<pre>public static&nbsp;short[]&nbsp;subarray(short[]&nbsp;array,
               int&nbsp;startIndexInclusive,
               int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>Produces a new <code>short</code> array containing the elements
 between the start and end indices.</p>

 <p>The start index is inclusive, the end index exclusive.
 Null array input produces null output.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array</dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0)
      is promoted to 0, overvalue (&gt;array.length) results
      in an empty array.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are present in the
      returned subarray. Undervalue (&lt; startIndex) produces
      empty array, overvalue (&gt;array.length) is demoted to
      array length.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new array containing the elements between
      the start and end indices.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html?is-external=true#copyOfRange(short[], int, int)" title="class or interface in java.util"><code>Arrays.copyOfRange(short[], int, int)</code></a></dd></dl>
</li>
</ul>
<a name="subarray(char[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subarray</h4>
<pre>public static&nbsp;char[]&nbsp;subarray(char[]&nbsp;array,
              int&nbsp;startIndexInclusive,
              int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>Produces a new <code>char</code> array containing the elements
 between the start and end indices.</p>

 <p>The start index is inclusive, the end index exclusive.
 Null array input produces null output.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array</dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0)
      is promoted to 0, overvalue (&gt;array.length) results
      in an empty array.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are present in the
      returned subarray. Undervalue (&lt; startIndex) produces
      empty array, overvalue (&gt;array.length) is demoted to
      array length.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new array containing the elements between
      the start and end indices.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html?is-external=true#copyOfRange(char[], int, int)" title="class or interface in java.util"><code>Arrays.copyOfRange(char[], int, int)</code></a></dd></dl>
</li>
</ul>
<a name="subarray(byte[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subarray</h4>
<pre>public static&nbsp;byte[]&nbsp;subarray(byte[]&nbsp;array,
              int&nbsp;startIndexInclusive,
              int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>Produces a new <code>byte</code> array containing the elements
 between the start and end indices.</p>

 <p>The start index is inclusive, the end index exclusive.
 Null array input produces null output.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array</dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0)
      is promoted to 0, overvalue (&gt;array.length) results
      in an empty array.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are present in the
      returned subarray. Undervalue (&lt; startIndex) produces
      empty array, overvalue (&gt;array.length) is demoted to
      array length.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new array containing the elements between
      the start and end indices.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html?is-external=true#copyOfRange(byte[], int, int)" title="class or interface in java.util"><code>Arrays.copyOfRange(byte[], int, int)</code></a></dd></dl>
</li>
</ul>
<a name="subarray(double[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subarray</h4>
<pre>public static&nbsp;double[]&nbsp;subarray(double[]&nbsp;array,
                int&nbsp;startIndexInclusive,
                int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>Produces a new <code>double</code> array containing the elements
 between the start and end indices.</p>

 <p>The start index is inclusive, the end index exclusive.
 Null array input produces null output.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array</dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0)
      is promoted to 0, overvalue (&gt;array.length) results
      in an empty array.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are present in the
      returned subarray. Undervalue (&lt; startIndex) produces
      empty array, overvalue (&gt;array.length) is demoted to
      array length.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new array containing the elements between
      the start and end indices.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html?is-external=true#copyOfRange(double[], int, int)" title="class or interface in java.util"><code>Arrays.copyOfRange(double[], int, int)</code></a></dd></dl>
</li>
</ul>
<a name="subarray(float[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subarray</h4>
<pre>public static&nbsp;float[]&nbsp;subarray(float[]&nbsp;array,
               int&nbsp;startIndexInclusive,
               int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>Produces a new <code>float</code> array containing the elements
 between the start and end indices.</p>

 <p>The start index is inclusive, the end index exclusive.
 Null array input produces null output.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array</dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0)
      is promoted to 0, overvalue (&gt;array.length) results
      in an empty array.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are present in the
      returned subarray. Undervalue (&lt; startIndex) produces
      empty array, overvalue (&gt;array.length) is demoted to
      array length.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new array containing the elements between
      the start and end indices.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html?is-external=true#copyOfRange(float[], int, int)" title="class or interface in java.util"><code>Arrays.copyOfRange(float[], int, int)</code></a></dd></dl>
</li>
</ul>
<a name="subarray(boolean[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subarray</h4>
<pre>public static&nbsp;boolean[]&nbsp;subarray(boolean[]&nbsp;array,
                 int&nbsp;startIndexInclusive,
                 int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>Produces a new <code>boolean</code> array containing the elements
 between the start and end indices.</p>

 <p>The start index is inclusive, the end index exclusive.
 Null array input produces null output.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array</dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0)
      is promoted to 0, overvalue (&gt;array.length) results
      in an empty array.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are present in the
      returned subarray. Undervalue (&lt; startIndex) produces
      empty array, overvalue (&gt;array.length) is demoted to
      array length.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new array containing the elements between
      the start and end indices.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Arrays.html?is-external=true#copyOfRange(boolean[], int, int)" title="class or interface in java.util"><code>Arrays.copyOfRange(boolean[], int, int)</code></a></dd></dl>
</li>
</ul>
<a name="isSameLength(java.lang.Object[], java.lang.Object[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSameLength</h4>
<pre>public static&nbsp;boolean&nbsp;isSameLength(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array1,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array2)</pre>
<div class="block"><p>Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.

 <p>Any multi-dimensional aspects of the arrays are ignored.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array, may be <code>null</code></dd><dd><code>array2</code> - the second array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if length of arrays matches, treating
  <code>null</code> as an empty array</dd></dl>
</li>
</ul>
<a name="isSameLength(long[], long[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSameLength</h4>
<pre>public static&nbsp;boolean&nbsp;isSameLength(long[]&nbsp;array1,
                   long[]&nbsp;array2)</pre>
<div class="block"><p>Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array, may be <code>null</code></dd><dd><code>array2</code> - the second array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if length of arrays matches, treating
  <code>null</code> as an empty array</dd></dl>
</li>
</ul>
<a name="isSameLength(int[], int[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSameLength</h4>
<pre>public static&nbsp;boolean&nbsp;isSameLength(int[]&nbsp;array1,
                   int[]&nbsp;array2)</pre>
<div class="block"><p>Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array, may be <code>null</code></dd><dd><code>array2</code> - the second array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if length of arrays matches, treating
  <code>null</code> as an empty array</dd></dl>
</li>
</ul>
<a name="isSameLength(short[], short[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSameLength</h4>
<pre>public static&nbsp;boolean&nbsp;isSameLength(short[]&nbsp;array1,
                   short[]&nbsp;array2)</pre>
<div class="block"><p>Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array, may be <code>null</code></dd><dd><code>array2</code> - the second array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if length of arrays matches, treating
  <code>null</code> as an empty array</dd></dl>
</li>
</ul>
<a name="isSameLength(char[], char[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSameLength</h4>
<pre>public static&nbsp;boolean&nbsp;isSameLength(char[]&nbsp;array1,
                   char[]&nbsp;array2)</pre>
<div class="block"><p>Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array, may be <code>null</code></dd><dd><code>array2</code> - the second array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if length of arrays matches, treating
  <code>null</code> as an empty array</dd></dl>
</li>
</ul>
<a name="isSameLength(byte[], byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSameLength</h4>
<pre>public static&nbsp;boolean&nbsp;isSameLength(byte[]&nbsp;array1,
                   byte[]&nbsp;array2)</pre>
<div class="block"><p>Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array, may be <code>null</code></dd><dd><code>array2</code> - the second array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if length of arrays matches, treating
  <code>null</code> as an empty array</dd></dl>
</li>
</ul>
<a name="isSameLength(double[], double[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSameLength</h4>
<pre>public static&nbsp;boolean&nbsp;isSameLength(double[]&nbsp;array1,
                   double[]&nbsp;array2)</pre>
<div class="block"><p>Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array, may be <code>null</code></dd><dd><code>array2</code> - the second array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if length of arrays matches, treating
  <code>null</code> as an empty array</dd></dl>
</li>
</ul>
<a name="isSameLength(float[], float[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSameLength</h4>
<pre>public static&nbsp;boolean&nbsp;isSameLength(float[]&nbsp;array1,
                   float[]&nbsp;array2)</pre>
<div class="block"><p>Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array, may be <code>null</code></dd><dd><code>array2</code> - the second array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if length of arrays matches, treating
  <code>null</code> as an empty array</dd></dl>
</li>
</ul>
<a name="isSameLength(boolean[], boolean[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSameLength</h4>
<pre>public static&nbsp;boolean&nbsp;isSameLength(boolean[]&nbsp;array1,
                   boolean[]&nbsp;array2)</pre>
<div class="block"><p>Checks whether two arrays are the same length, treating
 <code>null</code> arrays as length <code>0</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array, may be <code>null</code></dd><dd><code>array2</code> - the second array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if length of arrays matches, treating
  <code>null</code> as an empty array</dd></dl>
</li>
</ul>
<a name="getLength(java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLength</h4>
<pre>public static&nbsp;int&nbsp;getLength(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array)</pre>
<div class="block"><p>Returns the length of the specified array.
 This method can deal with <code>Object</code> arrays and with primitive arrays.</p>

 <p>If the input array is <code>null</code>, <code>0</code> is returned.</p>

 <pre>
 ArrayUtils.getLength(null)            = 0
 ArrayUtils.getLength([])              = 0
 ArrayUtils.getLength([null])          = 1
 ArrayUtils.getLength([true, false])   = 2
 ArrayUtils.getLength([1, 2, 3])       = 3
 ArrayUtils.getLength(["a", "b", "c"]) = 3
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to retrieve the length from, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>The length of the array, or <code>0</code> if the array is <code>null</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the object argument is not an array.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="isSameType(java.lang.Object, java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSameType</h4>
<pre>public static&nbsp;boolean&nbsp;isSameType(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array1,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;array2)</pre>
<div class="block"><p>Checks whether two arrays are the same type taking into account
 multi-dimensional arrays.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array, must not be <code>null</code></dd><dd><code>array2</code> - the second array, must not be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if type of arrays matches</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if either array is <code>null</code></dd></dl>
</li>
</ul>
<a name="reverse(java.lang.Object[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array)</pre>
<div class="block"><p>Reverses the order of the given array.</p>

 <p>There is no special handling for multi-dimensional arrays.</p>

 <p>This method does nothing for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd></dl>
</li>
</ul>
<a name="reverse(long[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(long[]&nbsp;array)</pre>
<div class="block"><p>Reverses the order of the given array.</p>

 <p>This method does nothing for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd></dl>
</li>
</ul>
<a name="reverse(int[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(int[]&nbsp;array)</pre>
<div class="block"><p>Reverses the order of the given array.</p>

 <p>This method does nothing for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd></dl>
</li>
</ul>
<a name="reverse(short[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(short[]&nbsp;array)</pre>
<div class="block"><p>Reverses the order of the given array.</p>

 <p>This method does nothing for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd></dl>
</li>
</ul>
<a name="reverse(char[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(char[]&nbsp;array)</pre>
<div class="block"><p>Reverses the order of the given array.</p>

 <p>This method does nothing for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd></dl>
</li>
</ul>
<a name="reverse(byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(byte[]&nbsp;array)</pre>
<div class="block"><p>Reverses the order of the given array.</p>

 <p>This method does nothing for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd></dl>
</li>
</ul>
<a name="reverse(double[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(double[]&nbsp;array)</pre>
<div class="block"><p>Reverses the order of the given array.</p>

 <p>This method does nothing for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd></dl>
</li>
</ul>
<a name="reverse(float[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(float[]&nbsp;array)</pre>
<div class="block"><p>Reverses the order of the given array.</p>

 <p>This method does nothing for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd></dl>
</li>
</ul>
<a name="reverse(boolean[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(boolean[]&nbsp;array)</pre>
<div class="block"><p>Reverses the order of the given array.</p>

 <p>This method does nothing for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd></dl>
</li>
</ul>
<a name="reverse(boolean[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(boolean[]&nbsp;array,
           int&nbsp;startIndexInclusive,
           int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>
 Reverses the order of the given array in the given range.
 </p>
 
 <p>
 This method does nothing for a <code>null</code> input array.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0) is promoted to 0, overvalue (&gt;array.length) results in no
            change.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are reversed in the array. Undervalue (&lt; start index) results in no
            change. Overvalue (&gt;array.length) is demoted to array length.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="reverse(byte[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(byte[]&nbsp;array,
           int&nbsp;startIndexInclusive,
           int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>
 Reverses the order of the given array in the given range.
 </p>
 
 <p>
 This method does nothing for a <code>null</code> input array.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0) is promoted to 0, overvalue (&gt;array.length) results in no
            change.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are reversed in the array. Undervalue (&lt; start index) results in no
            change. Overvalue (&gt;array.length) is demoted to array length.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="reverse(char[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(char[]&nbsp;array,
           int&nbsp;startIndexInclusive,
           int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>
 Reverses the order of the given array in the given range.
 </p>
 
 <p>
 This method does nothing for a <code>null</code> input array.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0) is promoted to 0, overvalue (&gt;array.length) results in no
            change.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are reversed in the array. Undervalue (&lt; start index) results in no
            change. Overvalue (&gt;array.length) is demoted to array length.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="reverse(double[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(double[]&nbsp;array,
           int&nbsp;startIndexInclusive,
           int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>
 Reverses the order of the given array in the given range.
 </p>
 
 <p>
 This method does nothing for a <code>null</code> input array.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0) is promoted to 0, overvalue (&gt;array.length) results in no
            change.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are reversed in the array. Undervalue (&lt; start index) results in no
            change. Overvalue (&gt;array.length) is demoted to array length.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="reverse(float[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(float[]&nbsp;array,
           int&nbsp;startIndexInclusive,
           int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>
 Reverses the order of the given array in the given range.
 </p>
 
 <p>
 This method does nothing for a <code>null</code> input array.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0) is promoted to 0, overvalue (&gt;array.length) results in no
            change.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are reversed in the array. Undervalue (&lt; start index) results in no
            change. Overvalue (&gt;array.length) is demoted to array length.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="reverse(int[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(int[]&nbsp;array,
           int&nbsp;startIndexInclusive,
           int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>
 Reverses the order of the given array in the given range.
 </p>
 
 <p>
 This method does nothing for a <code>null</code> input array.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0) is promoted to 0, overvalue (&gt;array.length) results in no
            change.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are reversed in the array. Undervalue (&lt; start index) results in no
            change. Overvalue (&gt;array.length) is demoted to array length.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="reverse(long[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(long[]&nbsp;array,
           int&nbsp;startIndexInclusive,
           int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>
 Reverses the order of the given array in the given range.
 </p>
 
 <p>
 This method does nothing for a <code>null</code> input array.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0) is promoted to 0, overvalue (&gt;array.length) results in no
            change.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are reversed in the array. Undervalue (&lt; start index) results in no
            change. Overvalue (&gt;array.length) is demoted to array length.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="reverse(java.lang.Object[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
           int&nbsp;startIndexInclusive,
           int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>
 Reverses the order of the given array in the given range.
 </p>
 
 <p>
 This method does nothing for a <code>null</code> input array.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0) is promoted to 0, overvalue (&gt;array.length) results in no
            change.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are reversed in the array. Undervalue (&lt; start index) results in no
            change. Overvalue (&gt;array.length) is demoted to array length.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="reverse(short[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reverse</h4>
<pre>public static&nbsp;void&nbsp;reverse(short[]&nbsp;array,
           int&nbsp;startIndexInclusive,
           int&nbsp;endIndexExclusive)</pre>
<div class="block"><p>
 Reverses the order of the given array in the given range.
 </p>
 
 <p>
 This method does nothing for a <code>null</code> input array.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to reverse, may be <code>null</code></dd><dd><code>startIndexInclusive</code> - the starting index. Undervalue (&lt;0) is promoted to 0, overvalue (&gt;array.length) results in no
            change.</dd><dd><code>endIndexExclusive</code> - elements up to endIndex-1 are reversed in the array. Undervalue (&lt; start index) results in no
            change. Overvalue (&gt;array.length) is demoted to array length.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="indexOf(java.lang.Object[], java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;objectToFind)</pre>
<div class="block"><p>Finds the index of the given object in the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>objectToFind</code> - the object to find, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the object within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="indexOf(java.lang.Object[], java.lang.Object, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;objectToFind,
          int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the index of the given object in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex is treated as zero. A startIndex larger than the array
 length will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>objectToFind</code> - the object to find, may be <code>null</code></dd><dd><code>startIndex</code> - the index to start searching at</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the object within the array starting at the index,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(java.lang.Object[], java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;objectToFind)</pre>
<div class="block"><p>Finds the last index of the given object within the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to travers backwords looking for the object, may be <code>null</code></dd><dd><code>objectToFind</code> - the object to find, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the object within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(java.lang.Object[], java.lang.Object, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;objectToFind,
              int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the last index of the given object in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>). A startIndex larger than
 the array length will search from the end of the array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to traverse for looking for the object, may be <code>null</code></dd><dd><code>objectToFind</code> - the object to find, may be <code>null</code></dd><dd><code>startIndex</code> - the start index to travers backwards from</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the object within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="contains(java.lang.Object[], java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;objectToFind)</pre>
<div class="block"><p>Checks if the object is in the given array.</p>

 <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through</dd><dd><code>objectToFind</code> - the object to find</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array contains the object</dd></dl>
</li>
</ul>
<a name="indexOf(long[], long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(long[]&nbsp;array,
          long&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the index of the given value in the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="indexOf(long[], long, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(long[]&nbsp;array,
          long&nbsp;valueToFind,
          int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex is treated as zero. A startIndex larger than the array
 length will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the index to start searching at</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(long[], long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(long[]&nbsp;array,
              long&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the last index of the given value within the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to travers backwords looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the object to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(long[], long, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(long[]&nbsp;array,
              long&nbsp;valueToFind,
              int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the last index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>). A startIndex larger than the
 array length will search from the end of the array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to traverse for looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the start index to travers backwards from</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="contains(long[], long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(long[]&nbsp;array,
               long&nbsp;valueToFind)</pre>
<div class="block"><p>Checks if the value is in the given array.</p>

 <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through</dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array contains the object</dd></dl>
</li>
</ul>
<a name="indexOf(int[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(int[]&nbsp;array,
          int&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the index of the given value in the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="indexOf(int[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(int[]&nbsp;array,
          int&nbsp;valueToFind,
          int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex is treated as zero. A startIndex larger than the array
 length will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the index to start searching at</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(int[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(int[]&nbsp;array,
              int&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the last index of the given value within the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to travers backwords looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the object to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(int[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(int[]&nbsp;array,
              int&nbsp;valueToFind,
              int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the last index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>). A startIndex larger than the
 array length will search from the end of the array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to traverse for looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the start index to travers backwards from</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="contains(int[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(int[]&nbsp;array,
               int&nbsp;valueToFind)</pre>
<div class="block"><p>Checks if the value is in the given array.</p>

 <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through</dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array contains the object</dd></dl>
</li>
</ul>
<a name="indexOf(short[], short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(short[]&nbsp;array,
          short&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the index of the given value in the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="indexOf(short[], short, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(short[]&nbsp;array,
          short&nbsp;valueToFind,
          int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex is treated as zero. A startIndex larger than the array
 length will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the index to start searching at</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(short[], short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(short[]&nbsp;array,
              short&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the last index of the given value within the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to travers backwords looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the object to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(short[], short, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(short[]&nbsp;array,
              short&nbsp;valueToFind,
              int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the last index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>). A startIndex larger than the
 array length will search from the end of the array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to traverse for looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the start index to travers backwards from</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="contains(short[], short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(short[]&nbsp;array,
               short&nbsp;valueToFind)</pre>
<div class="block"><p>Checks if the value is in the given array.</p>

 <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through</dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array contains the object</dd></dl>
</li>
</ul>
<a name="indexOf(char[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(char[]&nbsp;array,
          char&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the index of the given value in the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="indexOf(char[], char, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(char[]&nbsp;array,
          char&nbsp;valueToFind,
          int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex is treated as zero. A startIndex larger than the array
 length will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the index to start searching at</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="lastIndexOf(char[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(char[]&nbsp;array,
              char&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the last index of the given value within the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to travers backwords looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the object to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="lastIndexOf(char[], char, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(char[]&nbsp;array,
              char&nbsp;valueToFind,
              int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the last index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>). A startIndex larger than the
 array length will search from the end of the array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to traverse for looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the start index to travers backwards from</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="contains(char[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(char[]&nbsp;array,
               char&nbsp;valueToFind)</pre>
<div class="block"><p>Checks if the value is in the given array.</p>

 <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through</dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array contains the object</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="indexOf(byte[], byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(byte[]&nbsp;array,
          byte&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the index of the given value in the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="indexOf(byte[], byte, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(byte[]&nbsp;array,
          byte&nbsp;valueToFind,
          int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex is treated as zero. A startIndex larger than the array
 length will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the index to start searching at</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(byte[], byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(byte[]&nbsp;array,
              byte&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the last index of the given value within the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to travers backwords looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the object to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(byte[], byte, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(byte[]&nbsp;array,
              byte&nbsp;valueToFind,
              int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the last index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>). A startIndex larger than the
 array length will search from the end of the array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to traverse for looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the start index to travers backwards from</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="contains(byte[], byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(byte[]&nbsp;array,
               byte&nbsp;valueToFind)</pre>
<div class="block"><p>Checks if the value is in the given array.</p>

 <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through</dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array contains the object</dd></dl>
</li>
</ul>
<a name="indexOf(double[], double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(double[]&nbsp;array,
          double&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the index of the given value in the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="indexOf(double[], double, double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(double[]&nbsp;array,
          double&nbsp;valueToFind,
          double&nbsp;tolerance)</pre>
<div class="block"><p>Finds the index of the given value within a given tolerance in the array.
 This method will return the index of the first value which falls between the region
 defined by valueToFind - tolerance and valueToFind + tolerance.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>tolerance</code> - tolerance of the search</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="indexOf(double[], double, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(double[]&nbsp;array,
          double&nbsp;valueToFind,
          int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex is treated as zero. A startIndex larger than the array
 length will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the index to start searching at</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="indexOf(double[], double, int, double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(double[]&nbsp;array,
          double&nbsp;valueToFind,
          int&nbsp;startIndex,
          double&nbsp;tolerance)</pre>
<div class="block"><p>Finds the index of the given value in the array starting at the given index.
 This method will return the index of the first value which falls between the region
 defined by valueToFind - tolerance and valueToFind + tolerance.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex is treated as zero. A startIndex larger than the array
 length will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the index to start searching at</dd><dd><code>tolerance</code> - tolerance of the search</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(double[], double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(double[]&nbsp;array,
              double&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the last index of the given value within the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to travers backwords looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the object to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(double[], double, double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(double[]&nbsp;array,
              double&nbsp;valueToFind,
              double&nbsp;tolerance)</pre>
<div class="block"><p>Finds the last index of the given value within a given tolerance in the array.
 This method will return the index of the last value which falls between the region
 defined by valueToFind - tolerance and valueToFind + tolerance.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>tolerance</code> - tolerance of the search</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(double[], double, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(double[]&nbsp;array,
              double&nbsp;valueToFind,
              int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the last index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>). A startIndex larger than the
 array length will search from the end of the array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to traverse for looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the start index to travers backwards from</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(double[], double, int, double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(double[]&nbsp;array,
              double&nbsp;valueToFind,
              int&nbsp;startIndex,
              double&nbsp;tolerance)</pre>
<div class="block"><p>Finds the last index of the given value in the array starting at the given index.
 This method will return the index of the last value which falls between the region
 defined by valueToFind - tolerance and valueToFind + tolerance.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>). A startIndex larger than the
 array length will search from the end of the array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to traverse for looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the start index to travers backwards from</dd><dd><code>tolerance</code> - search for value within plus/minus this amount</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="contains(double[], double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(double[]&nbsp;array,
               double&nbsp;valueToFind)</pre>
<div class="block"><p>Checks if the value is in the given array.</p>

 <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through</dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array contains the object</dd></dl>
</li>
</ul>
<a name="contains(double[], double, double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(double[]&nbsp;array,
               double&nbsp;valueToFind,
               double&nbsp;tolerance)</pre>
<div class="block"><p>Checks if a value falling within the given tolerance is in the
 given array.  If the array contains a value within the inclusive range
 defined by (value - tolerance) to (value + tolerance).</p>

 <p>The method returns <code>false</code> if a <code>null</code> array
 is passed in.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search</dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>tolerance</code> - the array contains the tolerance of the search</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if value falling within tolerance is in array</dd></dl>
</li>
</ul>
<a name="indexOf(float[], float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(float[]&nbsp;array,
          float&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the index of the given value in the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="indexOf(float[], float, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(float[]&nbsp;array,
          float&nbsp;valueToFind,
          int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex is treated as zero. A startIndex larger than the array
 length will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the index to start searching at</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(float[], float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(float[]&nbsp;array,
              float&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the last index of the given value within the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to travers backwords looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the object to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(float[], float, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(float[]&nbsp;array,
              float&nbsp;valueToFind,
              int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the last index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>). A startIndex larger than the
 array length will search from the end of the array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to traverse for looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the start index to travers backwards from</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="contains(float[], float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(float[]&nbsp;array,
               float&nbsp;valueToFind)</pre>
<div class="block"><p>Checks if the value is in the given array.</p>

 <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through</dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array contains the object</dd></dl>
</li>
</ul>
<a name="indexOf(boolean[], boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(boolean[]&nbsp;array,
          boolean&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the index of the given value in the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="indexOf(boolean[], boolean, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public static&nbsp;int&nbsp;indexOf(boolean[]&nbsp;array,
          boolean&nbsp;valueToFind,
          int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex is treated as zero. A startIndex larger than the array
 length will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>).</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the index to start searching at</dd>
<dt><span class="strong">Returns:</span></dt><dd>the index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code>
  array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(boolean[], boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(boolean[]&nbsp;array,
              boolean&nbsp;valueToFind)</pre>
<div class="block"><p>Finds the last index of the given value within the array.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if
 <code>null</code> array input.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to travers backwords looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the object to find</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="lastIndexOf(boolean[], boolean, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastIndexOf</h4>
<pre>public static&nbsp;int&nbsp;lastIndexOf(boolean[]&nbsp;array,
              boolean&nbsp;valueToFind,
              int&nbsp;startIndex)</pre>
<div class="block"><p>Finds the last index of the given value in the array starting at the given index.</p>

 <p>This method returns <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) for a <code>null</code> input array.</p>

 <p>A negative startIndex will return <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>). A startIndex larger than
 the array length will search from the end of the array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to traverse for looking for the object, may be <code>null</code></dd><dd><code>valueToFind</code> - the value to find</dd><dd><code>startIndex</code> - the start index to travers backwards from</dd>
<dt><span class="strong">Returns:</span></dt><dd>the last index of the value within the array,
  <a href="../../../../org/apache/commons/lang3/ArrayUtils.html#INDEX_NOT_FOUND"><code>INDEX_NOT_FOUND</code></a> (<code>-1</code>) if not found or <code>null</code> array input</dd></dl>
</li>
</ul>
<a name="contains(boolean[], boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public static&nbsp;boolean&nbsp;contains(boolean[]&nbsp;array,
               boolean&nbsp;valueToFind)</pre>
<div class="block"><p>Checks if the value is in the given array.</p>

 <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to search through</dd><dd><code>valueToFind</code> - the value to find</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array contains the object</dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Character[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;char[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of object Characters to primitives.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Character</code> array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>char</code> array, <code>null</code> if null array input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if array content is <code>null</code></dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Character[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;char[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[]&nbsp;array,
                 char&nbsp;valueForNull)</pre>
<div class="block"><p>Converts an array of object Character to primitives handling <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Character</code> array, may be <code>null</code></dd><dd><code>valueForNull</code> - the value to insert if <code>null</code> found</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>char</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toObject(char[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toObject</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>[]&nbsp;toObject(char[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of primitive chars to objects.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>char</code> array</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>Character</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Long[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;long[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of object Longs to primitives.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Long</code> array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>long</code> array, <code>null</code> if null array input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if array content is <code>null</code></dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Long[], long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;long[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[]&nbsp;array,
                 long&nbsp;valueForNull)</pre>
<div class="block"><p>Converts an array of object Long to primitives handling <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Long</code> array, may be <code>null</code></dd><dd><code>valueForNull</code> - the value to insert if <code>null</code> found</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>long</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toObject(long[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toObject</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>[]&nbsp;toObject(long[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of primitive longs to objects.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>long</code> array</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>Long</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Integer[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;int[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of object Integers to primitives.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Integer</code> array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>an <code>int</code> array, <code>null</code> if null array input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if array content is <code>null</code></dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Integer[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;int[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]&nbsp;array,
                int&nbsp;valueForNull)</pre>
<div class="block"><p>Converts an array of object Integer to primitives handling <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Integer</code> array, may be <code>null</code></dd><dd><code>valueForNull</code> - the value to insert if <code>null</code> found</dd>
<dt><span class="strong">Returns:</span></dt><dd>an <code>int</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toObject(int[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toObject</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>[]&nbsp;toObject(int[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of primitive ints to objects.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - an <code>int</code> array</dd>
<dt><span class="strong">Returns:</span></dt><dd>an <code>Integer</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Short[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;short[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of object Shorts to primitives.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Short</code> array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>byte</code> array, <code>null</code> if null array input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if array content is <code>null</code></dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Short[], short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;short[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[]&nbsp;array,
                  short&nbsp;valueForNull)</pre>
<div class="block"><p>Converts an array of object Short to primitives handling <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Short</code> array, may be <code>null</code></dd><dd><code>valueForNull</code> - the value to insert if <code>null</code> found</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>byte</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toObject(short[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toObject</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a>[]&nbsp;toObject(short[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of primitive shorts to objects.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>short</code> array</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>Short</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;byte[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of object Bytes to primitives.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Byte</code> array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>byte</code> array, <code>null</code> if null array input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if array content is <code>null</code></dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Byte[], byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;byte[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[]&nbsp;array,
                 byte&nbsp;valueForNull)</pre>
<div class="block"><p>Converts an array of object Bytes to primitives handling <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Byte</code> array, may be <code>null</code></dd><dd><code>valueForNull</code> - the value to insert if <code>null</code> found</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>byte</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toObject(byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toObject</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang">Byte</a>[]&nbsp;toObject(byte[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of primitive bytes to objects.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>byte</code> array</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>Byte</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Double[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;double[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of object Doubles to primitives.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Double</code> array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>double</code> array, <code>null</code> if null array input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if array content is <code>null</code></dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Double[], double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;double[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[]&nbsp;array,
                   double&nbsp;valueForNull)</pre>
<div class="block"><p>Converts an array of object Doubles to primitives handling <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Double</code> array, may be <code>null</code></dd><dd><code>valueForNull</code> - the value to insert if <code>null</code> found</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>double</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toObject(double[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toObject</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>[]&nbsp;toObject(double[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of primitive doubles to objects.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>double</code> array</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>Double</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Float[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;float[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of object Floats to primitives.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Float</code> array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>float</code> array, <code>null</code> if null array input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if array content is <code>null</code></dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Float[], float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;float[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[]&nbsp;array,
                  float&nbsp;valueForNull)</pre>
<div class="block"><p>Converts an array of object Floats to primitives handling <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Float</code> array, may be <code>null</code></dd><dd><code>valueForNull</code> - the value to insert if <code>null</code> found</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>float</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toObject(float[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toObject</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>[]&nbsp;toObject(float[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of primitive floats to objects.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>float</code> array</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>Float</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Boolean[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;boolean[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of object Booleans to primitives.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Boolean</code> array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>boolean</code> array, <code>null</code> if null array input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if array content is <code>null</code></dd></dl>
</li>
</ul>
<a name="toPrimitive(java.lang.Boolean[], boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPrimitive</h4>
<pre>public static&nbsp;boolean[]&nbsp;toPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[]&nbsp;array,
                    boolean&nbsp;valueForNull)</pre>
<div class="block"><p>Converts an array of object Booleans to primitives handling <code>null</code>.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>Boolean</code> array, may be <code>null</code></dd><dd><code>valueForNull</code> - the value to insert if <code>null</code> found</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>boolean</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="toObject(boolean[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toObject</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>[]&nbsp;toObject(boolean[]&nbsp;array)</pre>
<div class="block"><p>Converts an array of primitive booleans to objects.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - a <code>boolean</code> array</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>Boolean</code> array, <code>null</code> if null array input</dd></dl>
</li>
</ul>
<a name="isEmpty(java.lang.Object[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isEmpty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of Objects is empty or <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is empty or <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="isEmpty(long[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isEmpty(long[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive longs is empty or <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is empty or <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="isEmpty(int[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isEmpty(int[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive ints is empty or <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is empty or <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="isEmpty(short[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isEmpty(short[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive shorts is empty or <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is empty or <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="isEmpty(char[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isEmpty(char[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive chars is empty or <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is empty or <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="isEmpty(byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isEmpty(byte[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive bytes is empty or <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is empty or <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="isEmpty(double[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isEmpty(double[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive doubles is empty or <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is empty or <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="isEmpty(float[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isEmpty(float[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive floats is empty or <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is empty or <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="isEmpty(boolean[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isEmpty(boolean[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive booleans is empty or <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is empty or <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="isNotEmpty(java.lang.Object[])">
<!--   -->
</a><a name="isNotEmpty(T[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotEmpty</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;boolean&nbsp;isNotEmpty(T[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of Objects is not empty or not <code>null</code>.</p></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the component type of the array</dd><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is not empty or not <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="isNotEmpty(long[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isNotEmpty(long[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive longs is not empty or not <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is not empty or not <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="isNotEmpty(int[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isNotEmpty(int[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive ints is not empty or not <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is not empty or not <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="isNotEmpty(short[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isNotEmpty(short[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive shorts is not empty or not <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is not empty or not <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="isNotEmpty(char[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isNotEmpty(char[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive chars is not empty or not <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is not empty or not <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="isNotEmpty(byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isNotEmpty(byte[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive bytes is not empty or not <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is not empty or not <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="isNotEmpty(double[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isNotEmpty(double[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive doubles is not empty or not <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is not empty or not <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="isNotEmpty(float[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isNotEmpty(float[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive floats is not empty or not <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is not empty or not <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="isNotEmpty(boolean[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNotEmpty</h4>
<pre>public static&nbsp;boolean&nbsp;isNotEmpty(boolean[]&nbsp;array)</pre>
<div class="block"><p>Checks if an array of primitive booleans is not empty or not <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to test</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the array is not empty or not <code>null</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>2.5</dd></dl>
</li>
</ul>
<a name="addAll(java.lang.Object[],java.lang.Object[])">
<!--   -->
</a><a name="addAll(T[], T...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;addAll(T[]&nbsp;array1,
             T...&nbsp;array2)</pre>
<div class="block"><p>Adds all the elements of the given arrays into a new array.</p>
 <p>The new array contains all of the element of <code>array1</code> followed
 by all of the elements <code>array2</code>. When an array is returned, it is always
 a new array.</p>

 <pre>
 ArrayUtils.addAll(null, null)     = null
 ArrayUtils.addAll(array1, null)   = cloned copy of array1
 ArrayUtils.addAll(null, array2)   = cloned copy of array2
 ArrayUtils.addAll([], [])         = []
 ArrayUtils.addAll([null], [null]) = [null, null]
 ArrayUtils.addAll(["a", "b", "c"], ["1", "2", "3"]) = ["a", "b", "c", "1", "2", "3"]
 </pre></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the component type of the array</dd><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array whose elements are added to the new array, may be <code>null</code></dd><dd><code>array2</code> - the second array whose elements are added to the new array, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The new array, <code>null</code> if both arrays are <code>null</code>.
      The type of the new array is the type of the first array,
      unless the first array is null, in which case the type is the same as the second array.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the array types are incompatible</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="addAll(boolean[], boolean...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public static&nbsp;boolean[]&nbsp;addAll(boolean[]&nbsp;array1,
               boolean...&nbsp;array2)</pre>
<div class="block"><p>Adds all the elements of the given arrays into a new array.</p>
 <p>The new array contains all of the element of <code>array1</code> followed
 by all of the elements <code>array2</code>. When an array is returned, it is always
 a new array.</p>

 <pre>
 ArrayUtils.addAll(array1, null)   = cloned copy of array1
 ArrayUtils.addAll(null, array2)   = cloned copy of array2
 ArrayUtils.addAll([], [])         = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array whose elements are added to the new array.</dd><dd><code>array2</code> - the second array whose elements are added to the new array.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The new boolean[] array.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="addAll(char[], char...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public static&nbsp;char[]&nbsp;addAll(char[]&nbsp;array1,
            char...&nbsp;array2)</pre>
<div class="block"><p>Adds all the elements of the given arrays into a new array.</p>
 <p>The new array contains all of the element of <code>array1</code> followed
 by all of the elements <code>array2</code>. When an array is returned, it is always
 a new array.</p>

 <pre>
 ArrayUtils.addAll(array1, null)   = cloned copy of array1
 ArrayUtils.addAll(null, array2)   = cloned copy of array2
 ArrayUtils.addAll([], [])         = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array whose elements are added to the new array.</dd><dd><code>array2</code> - the second array whose elements are added to the new array.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The new char[] array.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="addAll(byte[], byte...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public static&nbsp;byte[]&nbsp;addAll(byte[]&nbsp;array1,
            byte...&nbsp;array2)</pre>
<div class="block"><p>Adds all the elements of the given arrays into a new array.</p>
 <p>The new array contains all of the element of <code>array1</code> followed
 by all of the elements <code>array2</code>. When an array is returned, it is always
 a new array.</p>

 <pre>
 ArrayUtils.addAll(array1, null)   = cloned copy of array1
 ArrayUtils.addAll(null, array2)   = cloned copy of array2
 ArrayUtils.addAll([], [])         = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array whose elements are added to the new array.</dd><dd><code>array2</code> - the second array whose elements are added to the new array.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The new byte[] array.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="addAll(short[], short...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public static&nbsp;short[]&nbsp;addAll(short[]&nbsp;array1,
             short...&nbsp;array2)</pre>
<div class="block"><p>Adds all the elements of the given arrays into a new array.</p>
 <p>The new array contains all of the element of <code>array1</code> followed
 by all of the elements <code>array2</code>. When an array is returned, it is always
 a new array.</p>

 <pre>
 ArrayUtils.addAll(array1, null)   = cloned copy of array1
 ArrayUtils.addAll(null, array2)   = cloned copy of array2
 ArrayUtils.addAll([], [])         = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array whose elements are added to the new array.</dd><dd><code>array2</code> - the second array whose elements are added to the new array.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The new short[] array.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="addAll(int[], int...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public static&nbsp;int[]&nbsp;addAll(int[]&nbsp;array1,
           int...&nbsp;array2)</pre>
<div class="block"><p>Adds all the elements of the given arrays into a new array.</p>
 <p>The new array contains all of the element of <code>array1</code> followed
 by all of the elements <code>array2</code>. When an array is returned, it is always
 a new array.</p>

 <pre>
 ArrayUtils.addAll(array1, null)   = cloned copy of array1
 ArrayUtils.addAll(null, array2)   = cloned copy of array2
 ArrayUtils.addAll([], [])         = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array whose elements are added to the new array.</dd><dd><code>array2</code> - the second array whose elements are added to the new array.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The new int[] array.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="addAll(long[], long...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public static&nbsp;long[]&nbsp;addAll(long[]&nbsp;array1,
            long...&nbsp;array2)</pre>
<div class="block"><p>Adds all the elements of the given arrays into a new array.</p>
 <p>The new array contains all of the element of <code>array1</code> followed
 by all of the elements <code>array2</code>. When an array is returned, it is always
 a new array.</p>

 <pre>
 ArrayUtils.addAll(array1, null)   = cloned copy of array1
 ArrayUtils.addAll(null, array2)   = cloned copy of array2
 ArrayUtils.addAll([], [])         = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array whose elements are added to the new array.</dd><dd><code>array2</code> - the second array whose elements are added to the new array.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The new long[] array.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="addAll(float[], float...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public static&nbsp;float[]&nbsp;addAll(float[]&nbsp;array1,
             float...&nbsp;array2)</pre>
<div class="block"><p>Adds all the elements of the given arrays into a new array.</p>
 <p>The new array contains all of the element of <code>array1</code> followed
 by all of the elements <code>array2</code>. When an array is returned, it is always
 a new array.</p>

 <pre>
 ArrayUtils.addAll(array1, null)   = cloned copy of array1
 ArrayUtils.addAll(null, array2)   = cloned copy of array2
 ArrayUtils.addAll([], [])         = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array whose elements are added to the new array.</dd><dd><code>array2</code> - the second array whose elements are added to the new array.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The new float[] array.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="addAll(double[], double...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAll</h4>
<pre>public static&nbsp;double[]&nbsp;addAll(double[]&nbsp;array1,
              double...&nbsp;array2)</pre>
<div class="block"><p>Adds all the elements of the given arrays into a new array.</p>
 <p>The new array contains all of the element of <code>array1</code> followed
 by all of the elements <code>array2</code>. When an array is returned, it is always
 a new array.</p>

 <pre>
 ArrayUtils.addAll(array1, null)   = cloned copy of array1
 ArrayUtils.addAll(null, array2)   = cloned copy of array2
 ArrayUtils.addAll([], [])         = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array1</code> - the first array whose elements are added to the new array.</dd><dd><code>array2</code> - the second array whose elements are added to the new array.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The new double[] array.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="add(java.lang.Object[],java.lang.Object)">
<!--   -->
</a><a name="add(T[], T)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;add(T[]&nbsp;array,
          T&nbsp;element)</pre>
<div class="block"><p>Copies the given array and adds the given element at the end of the new array.</p>

 <p>The new array contains the same elements of the input
 array plus the given element in the last position. The component type of
 the new array is the same as that of the input array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element, unless the element itself is null,
  in which case the return type is Object[]</p>

 <pre>
 ArrayUtils.add(null, null)      = [null]
 ArrayUtils.add(null, "a")       = ["a"]
 ArrayUtils.add(["a"], null)     = ["a", null]
 ArrayUtils.add(["a"], "b")      = ["a", "b"]
 ArrayUtils.add(["a", "b"], "c") = ["a", "b", "c"]
 </pre></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the component type of the array</dd><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to "add" the element to, may be <code>null</code></dd><dd><code>element</code> - the object to add, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements plus the new element
 The returned array type will be that of the input array (unless null),
 in which case it will have the same type as the element.
 If both are null, an IllegalArgumentException is thrown</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if both arguments are null</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="add(boolean[], boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;boolean[]&nbsp;add(boolean[]&nbsp;array,
            boolean&nbsp;element)</pre>
<div class="block"><p>Copies the given array and adds the given element at the end of the new array.</p>

 <p>The new array contains the same elements of the input
 array plus the given element in the last position. The component type of
 the new array is the same as that of the input array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add(null, true)          = [true]
 ArrayUtils.add([true], false)       = [true, false]
 ArrayUtils.add([true, false], true) = [true, false, true]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to copy and add the element to, may be <code>null</code></dd><dd><code>element</code> - the object to add at the last index of the new array</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements plus the new element</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="add(byte[], byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;byte[]&nbsp;add(byte[]&nbsp;array,
         byte&nbsp;element)</pre>
<div class="block"><p>Copies the given array and adds the given element at the end of the new array.</p>

 <p>The new array contains the same elements of the input
 array plus the given element in the last position. The component type of
 the new array is the same as that of the input array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add(null, 0)   = [0]
 ArrayUtils.add([1], 0)    = [1, 0]
 ArrayUtils.add([1, 0], 1) = [1, 0, 1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to copy and add the element to, may be <code>null</code></dd><dd><code>element</code> - the object to add at the last index of the new array</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements plus the new element</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="add(char[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;char[]&nbsp;add(char[]&nbsp;array,
         char&nbsp;element)</pre>
<div class="block"><p>Copies the given array and adds the given element at the end of the new array.</p>

 <p>The new array contains the same elements of the input
 array plus the given element in the last position. The component type of
 the new array is the same as that of the input array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add(null, '0')       = ['0']
 ArrayUtils.add(['1'], '0')      = ['1', '0']
 ArrayUtils.add(['1', '0'], '1') = ['1', '0', '1']
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to copy and add the element to, may be <code>null</code></dd><dd><code>element</code> - the object to add at the last index of the new array</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements plus the new element</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="add(double[], double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;double[]&nbsp;add(double[]&nbsp;array,
           double&nbsp;element)</pre>
<div class="block"><p>Copies the given array and adds the given element at the end of the new array.</p>

 <p>The new array contains the same elements of the input
 array plus the given element in the last position. The component type of
 the new array is the same as that of the input array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add(null, 0)   = [0]
 ArrayUtils.add([1], 0)    = [1, 0]
 ArrayUtils.add([1, 0], 1) = [1, 0, 1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to copy and add the element to, may be <code>null</code></dd><dd><code>element</code> - the object to add at the last index of the new array</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements plus the new element</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="add(float[], float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;float[]&nbsp;add(float[]&nbsp;array,
          float&nbsp;element)</pre>
<div class="block"><p>Copies the given array and adds the given element at the end of the new array.</p>

 <p>The new array contains the same elements of the input
 array plus the given element in the last position. The component type of
 the new array is the same as that of the input array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add(null, 0)   = [0]
 ArrayUtils.add([1], 0)    = [1, 0]
 ArrayUtils.add([1, 0], 1) = [1, 0, 1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to copy and add the element to, may be <code>null</code></dd><dd><code>element</code> - the object to add at the last index of the new array</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements plus the new element</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="add(int[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;int[]&nbsp;add(int[]&nbsp;array,
        int&nbsp;element)</pre>
<div class="block"><p>Copies the given array and adds the given element at the end of the new array.</p>

 <p>The new array contains the same elements of the input
 array plus the given element in the last position. The component type of
 the new array is the same as that of the input array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add(null, 0)   = [0]
 ArrayUtils.add([1], 0)    = [1, 0]
 ArrayUtils.add([1, 0], 1) = [1, 0, 1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to copy and add the element to, may be <code>null</code></dd><dd><code>element</code> - the object to add at the last index of the new array</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements plus the new element</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="add(long[], long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;long[]&nbsp;add(long[]&nbsp;array,
         long&nbsp;element)</pre>
<div class="block"><p>Copies the given array and adds the given element at the end of the new array.</p>

 <p>The new array contains the same elements of the input
 array plus the given element in the last position. The component type of
 the new array is the same as that of the input array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add(null, 0)   = [0]
 ArrayUtils.add([1], 0)    = [1, 0]
 ArrayUtils.add([1, 0], 1) = [1, 0, 1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to copy and add the element to, may be <code>null</code></dd><dd><code>element</code> - the object to add at the last index of the new array</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements plus the new element</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="add(short[], short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;short[]&nbsp;add(short[]&nbsp;array,
          short&nbsp;element)</pre>
<div class="block"><p>Copies the given array and adds the given element at the end of the new array.</p>

 <p>The new array contains the same elements of the input
 array plus the given element in the last position. The component type of
 the new array is the same as that of the input array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add(null, 0)   = [0]
 ArrayUtils.add([1], 0)    = [1, 0]
 ArrayUtils.add([1, 0], 1) = [1, 0, 1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to copy and add the element to, may be <code>null</code></dd><dd><code>element</code> - the object to add at the last index of the new array</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements plus the new element</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="add(java.lang.Object[],int,java.lang.Object)">
<!--   -->
</a><a name="add(T[], int, T)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;add(T[]&nbsp;array,
          int&nbsp;index,
          T&nbsp;element)</pre>
<div class="block"><p>Inserts the specified element at the specified position in the array.
 Shifts the element currently at that position (if any) and any subsequent
 elements to the right (adds one to their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array plus the given element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add(null, 0, null)      = [null]
 ArrayUtils.add(null, 0, "a")       = ["a"]
 ArrayUtils.add(["a"], 1, null)     = ["a", null]
 ArrayUtils.add(["a"], 1, "b")      = ["a", "b"]
 ArrayUtils.add(["a", "b"], 3, "c") = ["a", "b", "c"]
 </pre></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the component type of the array</dd><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to add the element to, may be <code>null</code></dd><dd><code>index</code> - the position of the new object</dd><dd><code>element</code> - the object to add</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements and the new element</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range (index &lt; 0 || index &gt; array.length).</dd>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if both array and element are null</dd></dl>
</li>
</ul>
<a name="add(boolean[], int, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;boolean[]&nbsp;add(boolean[]&nbsp;array,
            int&nbsp;index,
            boolean&nbsp;element)</pre>
<div class="block"><p>Inserts the specified element at the specified position in the array.
 Shifts the element currently at that position (if any) and any subsequent
 elements to the right (adds one to their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array plus the given element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add(null, 0, true)          = [true]
 ArrayUtils.add([true], 0, false)       = [false, true]
 ArrayUtils.add([false], 1, true)       = [false, true]
 ArrayUtils.add([true, false], 1, true) = [true, true, false]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to add the element to, may be <code>null</code></dd><dd><code>index</code> - the position of the new object</dd><dd><code>element</code> - the object to add</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements and the new element</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range (index &lt; 0 || index &gt; array.length).</dd></dl>
</li>
</ul>
<a name="add(char[], int, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;char[]&nbsp;add(char[]&nbsp;array,
         int&nbsp;index,
         char&nbsp;element)</pre>
<div class="block"><p>Inserts the specified element at the specified position in the array.
 Shifts the element currently at that position (if any) and any subsequent
 elements to the right (adds one to their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array plus the given element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add(null, 0, 'a')            = ['a']
 ArrayUtils.add(['a'], 0, 'b')           = ['b', 'a']
 ArrayUtils.add(['a', 'b'], 0, 'c')      = ['c', 'a', 'b']
 ArrayUtils.add(['a', 'b'], 1, 'k')      = ['a', 'k', 'b']
 ArrayUtils.add(['a', 'b', 'c'], 1, 't') = ['a', 't', 'b', 'c']
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to add the element to, may be <code>null</code></dd><dd><code>index</code> - the position of the new object</dd><dd><code>element</code> - the object to add</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements and the new element</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt; array.length).</dd></dl>
</li>
</ul>
<a name="add(byte[], int, byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;byte[]&nbsp;add(byte[]&nbsp;array,
         int&nbsp;index,
         byte&nbsp;element)</pre>
<div class="block"><p>Inserts the specified element at the specified position in the array.
 Shifts the element currently at that position (if any) and any subsequent
 elements to the right (adds one to their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array plus the given element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add([1], 0, 2)         = [2, 1]
 ArrayUtils.add([2, 6], 2, 3)      = [2, 6, 3]
 ArrayUtils.add([2, 6], 0, 1)      = [1, 2, 6]
 ArrayUtils.add([2, 6, 3], 2, 1)   = [2, 6, 1, 3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to add the element to, may be <code>null</code></dd><dd><code>index</code> - the position of the new object</dd><dd><code>element</code> - the object to add</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements and the new element</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt; array.length).</dd></dl>
</li>
</ul>
<a name="add(short[], int, short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;short[]&nbsp;add(short[]&nbsp;array,
          int&nbsp;index,
          short&nbsp;element)</pre>
<div class="block"><p>Inserts the specified element at the specified position in the array.
 Shifts the element currently at that position (if any) and any subsequent
 elements to the right (adds one to their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array plus the given element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add([1], 0, 2)         = [2, 1]
 ArrayUtils.add([2, 6], 2, 10)     = [2, 6, 10]
 ArrayUtils.add([2, 6], 0, -4)     = [-4, 2, 6]
 ArrayUtils.add([2, 6, 3], 2, 1)   = [2, 6, 1, 3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to add the element to, may be <code>null</code></dd><dd><code>index</code> - the position of the new object</dd><dd><code>element</code> - the object to add</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements and the new element</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt; array.length).</dd></dl>
</li>
</ul>
<a name="add(int[], int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;int[]&nbsp;add(int[]&nbsp;array,
        int&nbsp;index,
        int&nbsp;element)</pre>
<div class="block"><p>Inserts the specified element at the specified position in the array.
 Shifts the element currently at that position (if any) and any subsequent
 elements to the right (adds one to their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array plus the given element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add([1], 0, 2)         = [2, 1]
 ArrayUtils.add([2, 6], 2, 10)     = [2, 6, 10]
 ArrayUtils.add([2, 6], 0, -4)     = [-4, 2, 6]
 ArrayUtils.add([2, 6, 3], 2, 1)   = [2, 6, 1, 3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to add the element to, may be <code>null</code></dd><dd><code>index</code> - the position of the new object</dd><dd><code>element</code> - the object to add</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements and the new element</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt; array.length).</dd></dl>
</li>
</ul>
<a name="add(long[], int, long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;long[]&nbsp;add(long[]&nbsp;array,
         int&nbsp;index,
         long&nbsp;element)</pre>
<div class="block"><p>Inserts the specified element at the specified position in the array.
 Shifts the element currently at that position (if any) and any subsequent
 elements to the right (adds one to their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array plus the given element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add([1L], 0, 2L)           = [2L, 1L]
 ArrayUtils.add([2L, 6L], 2, 10L)      = [2L, 6L, 10L]
 ArrayUtils.add([2L, 6L], 0, -4L)      = [-4L, 2L, 6L]
 ArrayUtils.add([2L, 6L, 3L], 2, 1L)   = [2L, 6L, 1L, 3L]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to add the element to, may be <code>null</code></dd><dd><code>index</code> - the position of the new object</dd><dd><code>element</code> - the object to add</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements and the new element</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt; array.length).</dd></dl>
</li>
</ul>
<a name="add(float[], int, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;float[]&nbsp;add(float[]&nbsp;array,
          int&nbsp;index,
          float&nbsp;element)</pre>
<div class="block"><p>Inserts the specified element at the specified position in the array.
 Shifts the element currently at that position (if any) and any subsequent
 elements to the right (adds one to their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array plus the given element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add([1.1f], 0, 2.2f)               = [2.2f, 1.1f]
 ArrayUtils.add([2.3f, 6.4f], 2, 10.5f)        = [2.3f, 6.4f, 10.5f]
 ArrayUtils.add([2.6f, 6.7f], 0, -4.8f)        = [-4.8f, 2.6f, 6.7f]
 ArrayUtils.add([2.9f, 6.0f, 0.3f], 2, 1.0f)   = [2.9f, 6.0f, 1.0f, 0.3f]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to add the element to, may be <code>null</code></dd><dd><code>index</code> - the position of the new object</dd><dd><code>element</code> - the object to add</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements and the new element</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt; array.length).</dd></dl>
</li>
</ul>
<a name="add(double[], int, double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre>public static&nbsp;double[]&nbsp;add(double[]&nbsp;array,
           int&nbsp;index,
           double&nbsp;element)</pre>
<div class="block"><p>Inserts the specified element at the specified position in the array.
 Shifts the element currently at that position (if any) and any subsequent
 elements to the right (adds one to their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array plus the given element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, a new one element array is returned
  whose component type is the same as the element.</p>

 <pre>
 ArrayUtils.add([1.1], 0, 2.2)              = [2.2, 1.1]
 ArrayUtils.add([2.3, 6.4], 2, 10.5)        = [2.3, 6.4, 10.5]
 ArrayUtils.add([2.6, 6.7], 0, -4.8)        = [-4.8, 2.6, 6.7]
 ArrayUtils.add([2.9, 6.0, 0.3], 2, 1.0)    = [2.9, 6.0, 1.0, 0.3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to add the element to, may be <code>null</code></dd><dd><code>index</code> - the position of the new object</dd><dd><code>element</code> - the object to add</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements and the new element</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt; array.length).</dd></dl>
</li>
</ul>
<a name="remove(java.lang.Object[],int)">
<!--   -->
</a><a name="remove(T[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;remove(T[]&nbsp;array,
             int&nbsp;index)</pre>
<div class="block"><p>Removes the element at the specified position from the specified array.
 All subsequent elements are shifted to the left (subtracts one from
 their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array except the element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.remove(["a"], 0)           = []
 ArrayUtils.remove(["a", "b"], 0)      = ["b"]
 ArrayUtils.remove(["a", "b"], 1)      = ["a"]
 ArrayUtils.remove(["a", "b", "c"], 1) = ["a", "c"]
 </pre></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the component type of the array</dd><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>index</code> - the position of the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the element
         at the specified position.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeElement(java.lang.Object[],java.lang.Object)">
<!--   -->
</a><a name="removeElement(T[], java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElement</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;removeElement(T[]&nbsp;array,
                    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;element)</pre>
<div class="block"><p>Removes the first occurrence of the specified element from the
 specified array. All subsequent elements are shifted to the left
 (subtracts one from their indices). If the array doesn't contains
 such an element, no elements are removed from the array.</p>

 <p>This method returns a new array with the same elements of the input
 array except the first occurrence of the specified element. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <pre>
 ArrayUtils.removeElement(null, "a")            = null
 ArrayUtils.removeElement([], "a")              = []
 ArrayUtils.removeElement(["a"], "b")           = ["a"]
 ArrayUtils.removeElement(["a", "b"], "a")      = ["b"]
 ArrayUtils.removeElement(["a", "b", "a"], "a") = ["b", "a"]
 </pre></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the component type of the array</dd><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>element</code> - the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the first
         occurrence of the specified element.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="remove(boolean[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;boolean[]&nbsp;remove(boolean[]&nbsp;array,
               int&nbsp;index)</pre>
<div class="block"><p>Removes the element at the specified position from the specified array.
 All subsequent elements are shifted to the left (subtracts one from
 their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array except the element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.remove([true], 0)              = []
 ArrayUtils.remove([true, false], 0)       = [false]
 ArrayUtils.remove([true, false], 1)       = [true]
 ArrayUtils.remove([true, true, false], 1) = [true, false]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>index</code> - the position of the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the element
         at the specified position.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeElement(boolean[], boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElement</h4>
<pre>public static&nbsp;boolean[]&nbsp;removeElement(boolean[]&nbsp;array,
                      boolean&nbsp;element)</pre>
<div class="block"><p>Removes the first occurrence of the specified element from the
 specified array. All subsequent elements are shifted to the left
 (subtracts one from their indices). If the array doesn't contains
 such an element, no elements are removed from the array.</p>

 <p>This method returns a new array with the same elements of the input
 array except the first occurrence of the specified element. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <pre>
 ArrayUtils.removeElement(null, true)                = null
 ArrayUtils.removeElement([], true)                  = []
 ArrayUtils.removeElement([true], false)             = [true]
 ArrayUtils.removeElement([true, false], false)      = [true]
 ArrayUtils.removeElement([true, false, true], true) = [false, true]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>element</code> - the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the first
         occurrence of the specified element.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="remove(byte[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;byte[]&nbsp;remove(byte[]&nbsp;array,
            int&nbsp;index)</pre>
<div class="block"><p>Removes the element at the specified position from the specified array.
 All subsequent elements are shifted to the left (subtracts one from
 their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array except the element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.remove([1], 0)          = []
 ArrayUtils.remove([1, 0], 0)       = [0]
 ArrayUtils.remove([1, 0], 1)       = [1]
 ArrayUtils.remove([1, 0, 1], 1)    = [1, 1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>index</code> - the position of the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the element
         at the specified position.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeElement(byte[], byte)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElement</h4>
<pre>public static&nbsp;byte[]&nbsp;removeElement(byte[]&nbsp;array,
                   byte&nbsp;element)</pre>
<div class="block"><p>Removes the first occurrence of the specified element from the
 specified array. All subsequent elements are shifted to the left
 (subtracts one from their indices). If the array doesn't contains
 such an element, no elements are removed from the array.</p>

 <p>This method returns a new array with the same elements of the input
 array except the first occurrence of the specified element. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <pre>
 ArrayUtils.removeElement(null, 1)        = null
 ArrayUtils.removeElement([], 1)          = []
 ArrayUtils.removeElement([1], 0)         = [1]
 ArrayUtils.removeElement([1, 0], 0)      = [1]
 ArrayUtils.removeElement([1, 0, 1], 1)   = [0, 1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>element</code> - the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the first
         occurrence of the specified element.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="remove(char[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;char[]&nbsp;remove(char[]&nbsp;array,
            int&nbsp;index)</pre>
<div class="block"><p>Removes the element at the specified position from the specified array.
 All subsequent elements are shifted to the left (subtracts one from
 their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array except the element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.remove(['a'], 0)           = []
 ArrayUtils.remove(['a', 'b'], 0)      = ['b']
 ArrayUtils.remove(['a', 'b'], 1)      = ['a']
 ArrayUtils.remove(['a', 'b', 'c'], 1) = ['a', 'c']
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>index</code> - the position of the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the element
         at the specified position.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeElement(char[], char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElement</h4>
<pre>public static&nbsp;char[]&nbsp;removeElement(char[]&nbsp;array,
                   char&nbsp;element)</pre>
<div class="block"><p>Removes the first occurrence of the specified element from the
 specified array. All subsequent elements are shifted to the left
 (subtracts one from their indices). If the array doesn't contains
 such an element, no elements are removed from the array.</p>

 <p>This method returns a new array with the same elements of the input
 array except the first occurrence of the specified element. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <pre>
 ArrayUtils.removeElement(null, 'a')            = null
 ArrayUtils.removeElement([], 'a')              = []
 ArrayUtils.removeElement(['a'], 'b')           = ['a']
 ArrayUtils.removeElement(['a', 'b'], 'a')      = ['b']
 ArrayUtils.removeElement(['a', 'b', 'a'], 'a') = ['b', 'a']
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>element</code> - the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the first
         occurrence of the specified element.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="remove(double[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;double[]&nbsp;remove(double[]&nbsp;array,
              int&nbsp;index)</pre>
<div class="block"><p>Removes the element at the specified position from the specified array.
 All subsequent elements are shifted to the left (subtracts one from
 their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array except the element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.remove([1.1], 0)           = []
 ArrayUtils.remove([2.5, 6.0], 0)      = [6.0]
 ArrayUtils.remove([2.5, 6.0], 1)      = [2.5]
 ArrayUtils.remove([2.5, 6.0, 3.8], 1) = [2.5, 3.8]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>index</code> - the position of the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the element
         at the specified position.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeElement(double[], double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElement</h4>
<pre>public static&nbsp;double[]&nbsp;removeElement(double[]&nbsp;array,
                     double&nbsp;element)</pre>
<div class="block"><p>Removes the first occurrence of the specified element from the
 specified array. All subsequent elements are shifted to the left
 (subtracts one from their indices). If the array doesn't contains
 such an element, no elements are removed from the array.</p>

 <p>This method returns a new array with the same elements of the input
 array except the first occurrence of the specified element. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <pre>
 ArrayUtils.removeElement(null, 1.1)            = null
 ArrayUtils.removeElement([], 1.1)              = []
 ArrayUtils.removeElement([1.1], 1.2)           = [1.1]
 ArrayUtils.removeElement([1.1, 2.3], 1.1)      = [2.3]
 ArrayUtils.removeElement([1.1, 2.3, 1.1], 1.1) = [2.3, 1.1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>element</code> - the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the first
         occurrence of the specified element.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="remove(float[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;float[]&nbsp;remove(float[]&nbsp;array,
             int&nbsp;index)</pre>
<div class="block"><p>Removes the element at the specified position from the specified array.
 All subsequent elements are shifted to the left (subtracts one from
 their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array except the element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.remove([1.1], 0)           = []
 ArrayUtils.remove([2.5, 6.0], 0)      = [6.0]
 ArrayUtils.remove([2.5, 6.0], 1)      = [2.5]
 ArrayUtils.remove([2.5, 6.0, 3.8], 1) = [2.5, 3.8]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>index</code> - the position of the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the element
         at the specified position.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeElement(float[], float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElement</h4>
<pre>public static&nbsp;float[]&nbsp;removeElement(float[]&nbsp;array,
                    float&nbsp;element)</pre>
<div class="block"><p>Removes the first occurrence of the specified element from the
 specified array. All subsequent elements are shifted to the left
 (subtracts one from their indices). If the array doesn't contains
 such an element, no elements are removed from the array.</p>

 <p>This method returns a new array with the same elements of the input
 array except the first occurrence of the specified element. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <pre>
 ArrayUtils.removeElement(null, 1.1)            = null
 ArrayUtils.removeElement([], 1.1)              = []
 ArrayUtils.removeElement([1.1], 1.2)           = [1.1]
 ArrayUtils.removeElement([1.1, 2.3], 1.1)      = [2.3]
 ArrayUtils.removeElement([1.1, 2.3, 1.1], 1.1) = [2.3, 1.1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>element</code> - the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the first
         occurrence of the specified element.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="remove(int[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;int[]&nbsp;remove(int[]&nbsp;array,
           int&nbsp;index)</pre>
<div class="block"><p>Removes the element at the specified position from the specified array.
 All subsequent elements are shifted to the left (subtracts one from
 their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array except the element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.remove([1], 0)         = []
 ArrayUtils.remove([2, 6], 0)      = [6]
 ArrayUtils.remove([2, 6], 1)      = [2]
 ArrayUtils.remove([2, 6, 3], 1)   = [2, 3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>index</code> - the position of the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the element
         at the specified position.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeElement(int[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElement</h4>
<pre>public static&nbsp;int[]&nbsp;removeElement(int[]&nbsp;array,
                  int&nbsp;element)</pre>
<div class="block"><p>Removes the first occurrence of the specified element from the
 specified array. All subsequent elements are shifted to the left
 (subtracts one from their indices). If the array doesn't contains
 such an element, no elements are removed from the array.</p>

 <p>This method returns a new array with the same elements of the input
 array except the first occurrence of the specified element. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <pre>
 ArrayUtils.removeElement(null, 1)      = null
 ArrayUtils.removeElement([], 1)        = []
 ArrayUtils.removeElement([1], 2)       = [1]
 ArrayUtils.removeElement([1, 3], 1)    = [3]
 ArrayUtils.removeElement([1, 3, 1], 1) = [3, 1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>element</code> - the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the first
         occurrence of the specified element.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="remove(long[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;long[]&nbsp;remove(long[]&nbsp;array,
            int&nbsp;index)</pre>
<div class="block"><p>Removes the element at the specified position from the specified array.
 All subsequent elements are shifted to the left (subtracts one from
 their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array except the element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.remove([1], 0)         = []
 ArrayUtils.remove([2, 6], 0)      = [6]
 ArrayUtils.remove([2, 6], 1)      = [2]
 ArrayUtils.remove([2, 6, 3], 1)   = [2, 3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>index</code> - the position of the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the element
         at the specified position.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeElement(long[], long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElement</h4>
<pre>public static&nbsp;long[]&nbsp;removeElement(long[]&nbsp;array,
                   long&nbsp;element)</pre>
<div class="block"><p>Removes the first occurrence of the specified element from the
 specified array. All subsequent elements are shifted to the left
 (subtracts one from their indices). If the array doesn't contains
 such an element, no elements are removed from the array.</p>

 <p>This method returns a new array with the same elements of the input
 array except the first occurrence of the specified element. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <pre>
 ArrayUtils.removeElement(null, 1)      = null
 ArrayUtils.removeElement([], 1)        = []
 ArrayUtils.removeElement([1], 2)       = [1]
 ArrayUtils.removeElement([1, 3], 1)    = [3]
 ArrayUtils.removeElement([1, 3, 1], 1) = [3, 1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>element</code> - the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the first
         occurrence of the specified element.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="remove(short[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remove</h4>
<pre>public static&nbsp;short[]&nbsp;remove(short[]&nbsp;array,
             int&nbsp;index)</pre>
<div class="block"><p>Removes the element at the specified position from the specified array.
 All subsequent elements are shifted to the left (subtracts one from
 their indices).</p>

 <p>This method returns a new array with the same elements of the input
 array except the element on the specified position. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.remove([1], 0)         = []
 ArrayUtils.remove([2, 6], 0)      = [6]
 ArrayUtils.remove([2, 6], 1)      = [2]
 ArrayUtils.remove([2, 6, 3], 1)   = [2, 3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>index</code> - the position of the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the element
         at the specified position.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if the index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeElement(short[], short)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElement</h4>
<pre>public static&nbsp;short[]&nbsp;removeElement(short[]&nbsp;array,
                    short&nbsp;element)</pre>
<div class="block"><p>Removes the first occurrence of the specified element from the
 specified array. All subsequent elements are shifted to the left
 (subtracts one from their indices). If the array doesn't contains
 such an element, no elements are removed from the array.</p>

 <p>This method returns a new array with the same elements of the input
 array except the first occurrence of the specified element. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <pre>
 ArrayUtils.removeElement(null, 1)      = null
 ArrayUtils.removeElement([], 1)        = []
 ArrayUtils.removeElement([1], 2)       = [1]
 ArrayUtils.removeElement([1, 3], 1)    = [3]
 ArrayUtils.removeElement([1, 3, 1], 1) = [3, 1]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>element</code> - the element to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the first
         occurrence of the specified element.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="removeAll(java.lang.Object[],int[])">
<!--   -->
</a><a name="removeAll(T[], int...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;removeAll(T[]&nbsp;array,
                int...&nbsp;indices)</pre>
<div class="block"><p>Removes the elements at the specified positions from the specified array.
 All remaining elements are shifted to the left.</p>

 <p>This method returns a new array with the same elements of the input
 array except those at the specified positions. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.removeAll(["a", "b", "c"], 0, 2) = ["b"]
 ArrayUtils.removeAll(["a", "b", "c"], 1, 2) = ["a"]
 </pre></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the component type of the array</dd><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>indices</code> - the positions of the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except those
         at the specified positions.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if any index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeElements(java.lang.Object[],java.lang.Object[])">
<!--   -->
</a><a name="removeElements(T[], T...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElements</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;T[]&nbsp;removeElements(T[]&nbsp;array,
                     T...&nbsp;values)</pre>
<div class="block"><p>Removes occurrences of specified elements, in specified quantities,
 from the specified array. All subsequent elements are shifted left.
 For any element-to-be-removed specified in greater quantities than
 contained in the original array, no change occurs beyond the
 removal of the existing matching items.</p>

 <p>This method returns a new array with the same elements of the input
 array except for the earliest-encountered occurrences of the specified
 elements. The component type of the returned array is always the same
 as that of the input array.</p>

 <pre>
 ArrayUtils.removeElements(null, "a", "b")            = null
 ArrayUtils.removeElements([], "a", "b")              = []
 ArrayUtils.removeElements(["a"], "b", "c")           = ["a"]
 ArrayUtils.removeElements(["a", "b"], "a", "c")      = ["b"]
 ArrayUtils.removeElements(["a", "b", "a"], "a")      = ["b", "a"]
 ArrayUtils.removeElements(["a", "b", "a"], "a", "a") = ["b"]
 </pre></div>
<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - the component type of the array</dd><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>values</code> - the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the
         earliest-encountered occurrences of the specified elements.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeAll(byte[], int...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre>public static&nbsp;byte[]&nbsp;removeAll(byte[]&nbsp;array,
               int...&nbsp;indices)</pre>
<div class="block"><p>Removes the elements at the specified positions from the specified array.
 All remaining elements are shifted to the left.</p>

 <p>This method returns a new array with the same elements of the input
 array except those at the specified positions. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.removeAll([1], 0)             = []
 ArrayUtils.removeAll([2, 6], 0)          = [6]
 ArrayUtils.removeAll([2, 6], 0, 1)       = []
 ArrayUtils.removeAll([2, 6, 3], 1, 2)    = [2]
 ArrayUtils.removeAll([2, 6, 3], 0, 2)    = [6]
 ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>indices</code> - the positions of the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except those
         at the specified positions.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if any index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeElements(byte[], byte...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElements</h4>
<pre>public static&nbsp;byte[]&nbsp;removeElements(byte[]&nbsp;array,
                    byte...&nbsp;values)</pre>
<div class="block"><p>Removes occurrences of specified elements, in specified quantities,
 from the specified array. All subsequent elements are shifted left.
 For any element-to-be-removed specified in greater quantities than
 contained in the original array, no change occurs beyond the
 removal of the existing matching items.</p>

 <p>This method returns a new array with the same elements of the input
 array except for the earliest-encountered occurrences of the specified
 elements. The component type of the returned array is always the same
 as that of the input array.</p>

 <pre>
 ArrayUtils.removeElements(null, 1, 2)      = null
 ArrayUtils.removeElements([], 1, 2)        = []
 ArrayUtils.removeElements([1], 2, 3)       = [1]
 ArrayUtils.removeElements([1, 3], 1, 2)    = [3]
 ArrayUtils.removeElements([1, 3, 1], 1)    = [3, 1]
 ArrayUtils.removeElements([1, 3, 1], 1, 1) = [3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>values</code> - the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the
         earliest-encountered occurrences of the specified elements.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeAll(short[], int...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre>public static&nbsp;short[]&nbsp;removeAll(short[]&nbsp;array,
                int...&nbsp;indices)</pre>
<div class="block"><p>Removes the elements at the specified positions from the specified array.
 All remaining elements are shifted to the left.</p>

 <p>This method returns a new array with the same elements of the input
 array except those at the specified positions. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.removeAll([1], 0)             = []
 ArrayUtils.removeAll([2, 6], 0)          = [6]
 ArrayUtils.removeAll([2, 6], 0, 1)       = []
 ArrayUtils.removeAll([2, 6, 3], 1, 2)    = [2]
 ArrayUtils.removeAll([2, 6, 3], 0, 2)    = [6]
 ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>indices</code> - the positions of the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except those
         at the specified positions.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if any index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeElements(short[], short...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElements</h4>
<pre>public static&nbsp;short[]&nbsp;removeElements(short[]&nbsp;array,
                     short...&nbsp;values)</pre>
<div class="block"><p>Removes occurrences of specified elements, in specified quantities,
 from the specified array. All subsequent elements are shifted left.
 For any element-to-be-removed specified in greater quantities than
 contained in the original array, no change occurs beyond the
 removal of the existing matching items.</p>

 <p>This method returns a new array with the same elements of the input
 array except for the earliest-encountered occurrences of the specified
 elements. The component type of the returned array is always the same
 as that of the input array.</p>

 <pre>
 ArrayUtils.removeElements(null, 1, 2)      = null
 ArrayUtils.removeElements([], 1, 2)        = []
 ArrayUtils.removeElements([1], 2, 3)       = [1]
 ArrayUtils.removeElements([1, 3], 1, 2)    = [3]
 ArrayUtils.removeElements([1, 3, 1], 1)    = [3, 1]
 ArrayUtils.removeElements([1, 3, 1], 1, 1) = [3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>values</code> - the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the
         earliest-encountered occurrences of the specified elements.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeAll(int[], int...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre>public static&nbsp;int[]&nbsp;removeAll(int[]&nbsp;array,
              int...&nbsp;indices)</pre>
<div class="block"><p>Removes the elements at the specified positions from the specified array.
 All remaining elements are shifted to the left.</p>

 <p>This method returns a new array with the same elements of the input
 array except those at the specified positions. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.removeAll([1], 0)             = []
 ArrayUtils.removeAll([2, 6], 0)          = [6]
 ArrayUtils.removeAll([2, 6], 0, 1)       = []
 ArrayUtils.removeAll([2, 6, 3], 1, 2)    = [2]
 ArrayUtils.removeAll([2, 6, 3], 0, 2)    = [6]
 ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>indices</code> - the positions of the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except those
         at the specified positions.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if any index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeElements(int[], int...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElements</h4>
<pre>public static&nbsp;int[]&nbsp;removeElements(int[]&nbsp;array,
                   int...&nbsp;values)</pre>
<div class="block"><p>Removes occurrences of specified elements, in specified quantities,
 from the specified array. All subsequent elements are shifted left.
 For any element-to-be-removed specified in greater quantities than
 contained in the original array, no change occurs beyond the
 removal of the existing matching items.</p>

 <p>This method returns a new array with the same elements of the input
 array except for the earliest-encountered occurrences of the specified
 elements. The component type of the returned array is always the same
 as that of the input array.</p>

 <pre>
 ArrayUtils.removeElements(null, 1, 2)      = null
 ArrayUtils.removeElements([], 1, 2)        = []
 ArrayUtils.removeElements([1], 2, 3)       = [1]
 ArrayUtils.removeElements([1, 3], 1, 2)    = [3]
 ArrayUtils.removeElements([1, 3, 1], 1)    = [3, 1]
 ArrayUtils.removeElements([1, 3, 1], 1, 1) = [3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>values</code> - the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the
         earliest-encountered occurrences of the specified elements.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeAll(char[], int...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre>public static&nbsp;char[]&nbsp;removeAll(char[]&nbsp;array,
               int...&nbsp;indices)</pre>
<div class="block"><p>Removes the elements at the specified positions from the specified array.
 All remaining elements are shifted to the left.</p>

 <p>This method returns a new array with the same elements of the input
 array except those at the specified positions. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.removeAll([1], 0)             = []
 ArrayUtils.removeAll([2, 6], 0)          = [6]
 ArrayUtils.removeAll([2, 6], 0, 1)       = []
 ArrayUtils.removeAll([2, 6, 3], 1, 2)    = [2]
 ArrayUtils.removeAll([2, 6, 3], 0, 2)    = [6]
 ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>indices</code> - the positions of the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except those
         at the specified positions.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if any index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeElements(char[], char...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElements</h4>
<pre>public static&nbsp;char[]&nbsp;removeElements(char[]&nbsp;array,
                    char...&nbsp;values)</pre>
<div class="block"><p>Removes occurrences of specified elements, in specified quantities,
 from the specified array. All subsequent elements are shifted left.
 For any element-to-be-removed specified in greater quantities than
 contained in the original array, no change occurs beyond the
 removal of the existing matching items.</p>

 <p>This method returns a new array with the same elements of the input
 array except for the earliest-encountered occurrences of the specified
 elements. The component type of the returned array is always the same
 as that of the input array.</p>

 <pre>
 ArrayUtils.removeElements(null, 1, 2)      = null
 ArrayUtils.removeElements([], 1, 2)        = []
 ArrayUtils.removeElements([1], 2, 3)       = [1]
 ArrayUtils.removeElements([1, 3], 1, 2)    = [3]
 ArrayUtils.removeElements([1, 3, 1], 1)    = [3, 1]
 ArrayUtils.removeElements([1, 3, 1], 1, 1) = [3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>values</code> - the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the
         earliest-encountered occurrences of the specified elements.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeAll(long[], int...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre>public static&nbsp;long[]&nbsp;removeAll(long[]&nbsp;array,
               int...&nbsp;indices)</pre>
<div class="block"><p>Removes the elements at the specified positions from the specified array.
 All remaining elements are shifted to the left.</p>

 <p>This method returns a new array with the same elements of the input
 array except those at the specified positions. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.removeAll([1], 0)             = []
 ArrayUtils.removeAll([2, 6], 0)          = [6]
 ArrayUtils.removeAll([2, 6], 0, 1)       = []
 ArrayUtils.removeAll([2, 6, 3], 1, 2)    = [2]
 ArrayUtils.removeAll([2, 6, 3], 0, 2)    = [6]
 ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>indices</code> - the positions of the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except those
         at the specified positions.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if any index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeElements(long[], long...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElements</h4>
<pre>public static&nbsp;long[]&nbsp;removeElements(long[]&nbsp;array,
                    long...&nbsp;values)</pre>
<div class="block"><p>Removes occurrences of specified elements, in specified quantities,
 from the specified array. All subsequent elements are shifted left.
 For any element-to-be-removed specified in greater quantities than
 contained in the original array, no change occurs beyond the
 removal of the existing matching items.</p>

 <p>This method returns a new array with the same elements of the input
 array except for the earliest-encountered occurrences of the specified
 elements. The component type of the returned array is always the same
 as that of the input array.</p>

 <pre>
 ArrayUtils.removeElements(null, 1, 2)      = null
 ArrayUtils.removeElements([], 1, 2)        = []
 ArrayUtils.removeElements([1], 2, 3)       = [1]
 ArrayUtils.removeElements([1, 3], 1, 2)    = [3]
 ArrayUtils.removeElements([1, 3, 1], 1)    = [3, 1]
 ArrayUtils.removeElements([1, 3, 1], 1, 1) = [3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>values</code> - the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the
         earliest-encountered occurrences of the specified elements.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeAll(float[], int...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre>public static&nbsp;float[]&nbsp;removeAll(float[]&nbsp;array,
                int...&nbsp;indices)</pre>
<div class="block"><p>Removes the elements at the specified positions from the specified array.
 All remaining elements are shifted to the left.</p>

 <p>This method returns a new array with the same elements of the input
 array except those at the specified positions. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.removeAll([1], 0)             = []
 ArrayUtils.removeAll([2, 6], 0)          = [6]
 ArrayUtils.removeAll([2, 6], 0, 1)       = []
 ArrayUtils.removeAll([2, 6, 3], 1, 2)    = [2]
 ArrayUtils.removeAll([2, 6, 3], 0, 2)    = [6]
 ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>indices</code> - the positions of the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except those
         at the specified positions.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if any index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeElements(float[], float...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElements</h4>
<pre>public static&nbsp;float[]&nbsp;removeElements(float[]&nbsp;array,
                     float...&nbsp;values)</pre>
<div class="block"><p>Removes occurrences of specified elements, in specified quantities,
 from the specified array. All subsequent elements are shifted left.
 For any element-to-be-removed specified in greater quantities than
 contained in the original array, no change occurs beyond the
 removal of the existing matching items.</p>

 <p>This method returns a new array with the same elements of the input
 array except for the earliest-encountered occurrences of the specified
 elements. The component type of the returned array is always the same
 as that of the input array.</p>

 <pre>
 ArrayUtils.removeElements(null, 1, 2)      = null
 ArrayUtils.removeElements([], 1, 2)        = []
 ArrayUtils.removeElements([1], 2, 3)       = [1]
 ArrayUtils.removeElements([1, 3], 1, 2)    = [3]
 ArrayUtils.removeElements([1, 3, 1], 1)    = [3, 1]
 ArrayUtils.removeElements([1, 3, 1], 1, 1) = [3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>values</code> - the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the
         earliest-encountered occurrences of the specified elements.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeAll(double[], int...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre>public static&nbsp;double[]&nbsp;removeAll(double[]&nbsp;array,
                 int...&nbsp;indices)</pre>
<div class="block"><p>Removes the elements at the specified positions from the specified array.
 All remaining elements are shifted to the left.</p>

 <p>This method returns a new array with the same elements of the input
 array except those at the specified positions. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.removeAll([1], 0)             = []
 ArrayUtils.removeAll([2, 6], 0)          = [6]
 ArrayUtils.removeAll([2, 6], 0, 1)       = []
 ArrayUtils.removeAll([2, 6, 3], 1, 2)    = [2]
 ArrayUtils.removeAll([2, 6, 3], 0, 2)    = [6]
 ArrayUtils.removeAll([2, 6, 3], 0, 1, 2) = []
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>indices</code> - the positions of the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except those
         at the specified positions.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if any index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeElements(double[], double...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeElements</h4>
<pre>public static&nbsp;double[]&nbsp;removeElements(double[]&nbsp;array,
                      double...&nbsp;values)</pre>
<div class="block"><p>Removes occurrences of specified elements, in specified quantities,
 from the specified array. All subsequent elements are shifted left.
 For any element-to-be-removed specified in greater quantities than
 contained in the original array, no change occurs beyond the
 removal of the existing matching items.</p>

 <p>This method returns a new array with the same elements of the input
 array except for the earliest-encountered occurrences of the specified
 elements. The component type of the returned array is always the same
 as that of the input array.</p>

 <pre>
 ArrayUtils.removeElements(null, 1, 2)      = null
 ArrayUtils.removeElements([], 1, 2)        = []
 ArrayUtils.removeElements([1], 2, 3)       = [1]
 ArrayUtils.removeElements([1, 3], 1, 2)    = [3]
 ArrayUtils.removeElements([1, 3, 1], 1)    = [3, 1]
 ArrayUtils.removeElements([1, 3, 1], 1, 1) = [3]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>values</code> - the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the
         earliest-encountered occurrences of the specified elements.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeAll(boolean[], int...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAll</h4>
<pre>public static&nbsp;boolean[]&nbsp;removeAll(boolean[]&nbsp;array,
                  int...&nbsp;indices)</pre>
<div class="block"><p>Removes the elements at the specified positions from the specified array.
 All remaining elements are shifted to the left.</p>

 <p>This method returns a new array with the same elements of the input
 array except those at the specified positions. The component
 type of the returned array is always the same as that of the input
 array.</p>

 <p>If the input array is <code>null</code>, an IndexOutOfBoundsException
 will be thrown, because in that case no valid index can be specified.</p>

 <pre>
 ArrayUtils.removeAll([true, false, true], 0, 2) = [false]
 ArrayUtils.removeAll([true, false, true], 1, 2) = [true]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may not be <code>null</code></dd><dd><code>indices</code> - the positions of the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except those
         at the specified positions.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if any index is out of range
 (index &lt; 0 || index &gt;= array.length), or if the array is <code>null</code>.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
<a name="removeElements(boolean[], boolean...)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>removeElements</h4>
<pre>public static&nbsp;boolean[]&nbsp;removeElements(boolean[]&nbsp;array,
                       boolean...&nbsp;values)</pre>
<div class="block"><p>Removes occurrences of specified elements, in specified quantities,
 from the specified array. All subsequent elements are shifted left.
 For any element-to-be-removed specified in greater quantities than
 contained in the original array, no change occurs beyond the
 removal of the existing matching items.</p>

 <p>This method returns a new array with the same elements of the input
 array except for the earliest-encountered occurrences of the specified
 elements. The component type of the returned array is always the same
 as that of the input array.</p>

 <pre>
 ArrayUtils.removeElements(null, true, false)               = null
 ArrayUtils.removeElements([], true, false)                 = []
 ArrayUtils.removeElements([true], false, false)            = [true]
 ArrayUtils.removeElements([true, false], true, true)       = [false]
 ArrayUtils.removeElements([true, false, true], true)       = [false, true]
 ArrayUtils.removeElements([true, false, true], true, true) = [false]
 </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - the array to remove the element from, may be <code>null</code></dd><dd><code>values</code> - the elements to be removed</dd>
<dt><span class="strong">Returns:</span></dt><dd>A new array containing the existing elements except the
         earliest-encountered occurrences of the specified elements.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0.1</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ArrayUtils.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/commons/lang3/AnnotationUtils.html" title="class in org.apache.commons.lang3"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/commons/lang3/BitField.html" title="class in org.apache.commons.lang3"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/commons/lang3/ArrayUtils.html" target="_top">Frames</a></li>
<li><a href="ArrayUtils.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2001&#x2013;2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
